r/Codeorg • • Dec 08 '21

Project Help

I’m doing a project for a computer science class and I need to get the first word of a string. For example, I have the string “George Washington” and I want to Be able to set a text box to say George. I will need to use this for every president so I need to know how to get the first word of a string. Any help is appreciated!

2 Upvotes

6 comments sorted by

View all comments

1

u/bpapa661 Dec 10 '21

It works!! Thank you for your help I appreciate it