Author Topic: Command to get the nth word.  (Read 640 times)

What's the function to find the nth word in a string?

example:

getString("Hello World!", 2); would return World!
getString("Hello World!", 1); would return Hello