Checking whether a string starts with XXXX

aString = "hello world"
aString.startswith("hello")

More info about startswith.

Leave a Comment