How can I get a string after a specific substring?

For example, I want to get the string after "world" in

my_string="hello python world, I'm a beginner"

…which in this case is: ", I'm a beginner")

9 Answers
9

Leave a Reply

Your email address will not be published. Required fields are marked *