Hi
I am looking to extract a specific number of words form a string imported from a text file. This is a web script.
Example.
Text file contains "Mary had a little lamb"
x=3
I then want to pull the first three words, "Mary had a " and display it on a web page.
What I am asking is similar to the $str function, but with words, instead of string length.
How do I do this?
Thanks in advance
Author104
In reply to Extract a specific number of words from a string by author104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |