in reply to Re^4: putting text into array word by word
in thread putting text into array word by word
OK, now that's solved, let's look at the definition of 'word' (yes, things are going to get hairy...). Take this sentence, for example:
"No, he said."
The 'words' that your current code would extract are:
"No, he said."
Is that really what you want? Or would you prefer:
No # or, better, 'no' he said
?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: putting text into array word by word
by jms53 (Monk) on Jan 09, 2012 at 23:19 UTC | |
by Not_a_Number (Prior) on Jan 10, 2012 at 10:35 UTC | |
by jms53 (Monk) on Jan 10, 2012 at 19:47 UTC | |
by Not_a_Number (Prior) on Jan 10, 2012 at 20:02 UTC | |
by jms53 (Monk) on Jan 10, 2012 at 20:14 UTC |