MID$ in Spin?
Moskog
Posts: 554
Can anyone help me with a MID$ function in spin?
Example: (Two strings: date and mm)
date = "09:10:12" (Known value)
mm = MID$ (date,4,2) .. that will return "10", how do I do that?
Then how would be the simplest way to convert the string mm into a decimal value?
Example: (Two strings: date and mm)
date = "09:10:12" (Known value)
mm = MID$ (date,4,2) .. that will return "10", how do I do that?
Then how would be the simplest way to convert the string mm into a decimal value?
Comments
The first method just breaks up the string without doing a conversion; the second, skips the breakup altogether and just does the conversion to numbers.
-Phil
I really do appreciate you being so helpful when I'm stuck in difficulties!