there's a trailing "|" at the 2nd condition of your while loop at line 19
My guess is you'd want to use backslash instead
I am tring to get an array of word lengths.
You need to add more details, do you mean the length of every word in a string will be stored in an array?
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 13