No problem, glad you got it sorted.
Another way to do it would be to continue using the next() method, which would give you one name at a time, so there'd be no need to split.
Type: Posts; User: KevinWorkman
No problem, glad you got it sorted.
Another way to do it would be to continue using the next() method, which would give you one name at a time, so there'd be no need to split.
I have definitely seen this exact question in the past couple weeks. So even if your classmates aren't the ones asking, another teacher must be using the same problem.
Anyway, here's a hint: What...
Instead of describing the step (finding the indexes of the spaces), can you describe your final goal? It seems that your classmates must have been on here a little while ago, because this problem...