Problem with Mid$
Posted: Thu Jul 09, 2015 3:17 pm
According to the documentation:
That is, when index X =1, Result =2; when X = 2, Result =3; etc.
Simple demo program attached.
However, when I use Mid$ in Flowcode 6.0.2.1, as follows, where string A[20] has the value "123456789" :Mid$(string,start,size)
Retrieves a substring from the string, starting at position start of size characters.
Result[20] string receives the substring at position start+1, instead of position start.Result = Mid$ (A,X,1)
That is, when index X =1, Result =2; when X = 2, Result =3; etc.
Simple demo program attached.