I want to remove the first characters from a string. Is there a function that works like this?
>>> a = \"BarackObama\" >>> print myfunction(4,a
Yes, just use slices:
>> a = "BarackObama" >> a[4:] 'ckObama'
Documentation is here http://docs.python.org/tutorial/introduction.html#strings