N nate100 Member Jun 16, 2009 #1 Say if I have a name like TOM JONES. What is the most efficient way of determining that there is a space in the name. Thanks
Say if I have a name like TOM JONES. What is the most efficient way of determining that there is a space in the name. Thanks
tamhas ProgressTalk.com Sponsor Jun 16, 2009 #2 I haven't done any speed tests, but I would guess the obvious solution would be index(YourString, " ") > 0 With the side benefit that it will point to the space. If 0, no space.
I haven't done any speed tests, but I would guess the obvious solution would be index(YourString, " ") > 0 With the side benefit that it will point to the space. If 0, no space.