Left(a$,-2); StringFieldSize(a$,seperator)
Posted: Tue Oct 25, 2011 8:41 am
left(a$,-2) should be the same as left(a$,len(a$)-2), same for right(a$,-2)
Also a build in
Would be nice.
Also a build in
Code: Select all
Procedure StringFieldSize(String$,Separator$)
count=1
For I=1 To Len(string$)
If Mid(string$,i,1)=Separator$
count+1
EndIf
Next
ProcedureReturn count
EndProcedure