Checking whether a string starts with XXXX

The Solution to Checking whether a string starts with XXXX is


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

More info about startswith.

~ Answered on 2012-01-10 11:56:11


Most Viewed Questions: