Remove substring from a string

Posted by xRobot on Stack Overflow See other posts from Stack Overflow or by xRobot
Published on 2010-05-06T15:31:48Z Indexed on 2010/05/06 15:38 UTC
Read the original article Hit count: 113

Filed under:

I want to remove the first characters from a string.

Is there a function that work like this ?:

.

a = "BarackObama"

print myfunction(4,a)

"ckObama"

b = "The world is mine"

print myfunction(6,b)

"rld is mine"

© Stack Overflow or respective owner

Related posts about python