When replacing all "InStr(" by "InStr(1," i have this result :
"InStr(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ..."
I had to edit my program with another editor to do the changes.
Thank you
InStr
Function InStr([Start As Integer,] Source As String, Find As String, CaseSensitive As Boolean = True) As Integer
InStr finds one string inside another. Returns 0, if Find could not be found. First position in Source is referenced as 1.
Example
DIM s As String
s = "Bernd Noetscher's KBasic"
PRINT "string position = "& INSTR(1, s, "KBasic")
Replace
Function Replace (Str As String, SearchFor As String, ReplaceWith As String, CaseSensitive As Boolean = True) As String
Replaces string occurances with another string.
Example
DIM s = "Das ist alles was wir brauchen. Fang nochmal von vorne an."
DIM search = vorne"
DIM replace = "hinten"
PRINT REPLACE(s, search, replace)