Re: AddStringField() or InsertString()
Posted: Wed Aug 19, 2015 4:39 pm
Hello FRED !!!
No no ...that's not talking about GIF
I have run, i have run,

and hope i not come too late for the 5.40
Thanks for all your great job 

No no ...that's not talking about GIF

I have run, i have run,

and hope i not come too late for the 5.40


Code: Select all
Procedure.s AddStringField(Sentence.s, Index, Separator.s, Text.s)
MaxSeparator = CountString(Sentence, Separator)
For a = 1 To MaxSeparator + 1
If a <> Index
Temp$ + StringField(Sentence, a, Separator) + Separator
Else
Temp$ + Text + Separator
EndIf
Next
ProcedureReturn Temp$
EndProcedure
Debug AddStringField("Hello it's a good day for asking a new function to FRED", 3, " ", "ADDED")
