Remove the first few(or any amount really) of letters in a string

Alexnb alexnbryan at gmail.com
Fri Aug 8 22:52:20 EDT 2008


Lets say I've got a stirng:

blah This is my string blah

I want to get rid of the blah's but keep the "This is my string." I know you
can do this with a for loop, but that is messy and a pain. So does anyone
have any suggestions on how to do this?
-- 
View this message in context: http://www.nabble.com/Remove-the-first-few%28or-any-amount-really%29-of-letters-in-a-string-tp18901736p18901736.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list