[ACCEPTED]-Find position of first occurrence of a substring in a string-vb.net
position = instr([stringField] & " ", " ")
Looking 4 for the first blank in what might be an 3 empty string named [stringField]. The ' & " "' avoids 2 an error situation where there are no blanks 1 in [stringField].
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.