Substring Functinality

Madhu shared this question 5 months ago
Need Answer

Dear Friends

Please help me . Could any one tell me about this functionaity. I am getting different results

for example

a = "10:30 AM"

if we use the function Substring in JustInMind Like this

b = Substring(a, 0, 2);

Answer is b = 10;

if we use the function Substring in JustInMind Like this

b = Substring(a, 3, 2)

Answer is b = :

Please help me. I want to get the hour part and minute part

Comments (1)

photo
1

You will need to separate out the text and then concatenate it back together. We've attached an example - let me know if you have any questions about it.