Skip to content
Advertisement

Tag: string-function

Find first word in string Python

I have to write a single function that should return the first word in the following strings: All have to return the first word and as you can see some start with a whitespace, have apostrophes or end with commas. I’ve used the following options: Both error at some of the strings, so who can help me??? Answer It is

Advertisement