How do you find a space within a string using the `.find` function or a similar function?

I'm trying to create a code that finds a space within a string, so that I can separate the string into two parts. 

If this is too vague, or you don't understand, please comment.