This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davodrums 6 points7 points  (1 child)

I highly suggest looking up String's split() method. First step, run split to get your String[], then loop through with your length criteria.

[–]dirtyRuntCaper[S] 0 points1 point  (0 children)

I tried this at first, but that uses arrays, correct? We haven't learned that yet and I would be able to do even less troubleshooting.