I wan\'t a method with which to find a string within another string. It should return the position of the first occurrence of the substring. (In VB 2008 !)
position = instr([stringField] & " ", " ")
Looking for the first blank in what might be an empty string named [stringField]. The ' & " "' avoids an error situation where there are no blanks in [stringField].
I think you are looking for InStr function, see: InStr at msdn
String.IndexOf