Nov 20, 2006 #1 IanCockcroft IS-IT--Management Joined Mar 16, 2004 Messages 7 Location ZA guys, how can I find the position of certain character in a string. SPACE specifially. Is there a function?
guys, how can I find the position of certain character in a string. SPACE specifially. Is there a function?
Nov 22, 2006 #2 uvguy Programmer Joined Dec 1, 2003 Messages 60 Location US If you are using DS BASIC that would be INDEX, ie STRING="Has Spaces" LOC=INDEX(STRING," ",1) In the above example, LOC would contain 4. Upvote 0 Downvote
If you are using DS BASIC that would be INDEX, ie STRING="Has Spaces" LOC=INDEX(STRING," ",1) In the above example, LOC would contain 4.