Sean 'Shaleh' Perry wrote:
>> Is there anything which says delete the first or last
>> character of a string? I checked the string module on the web, but I
>> couldn't find anything.
>>
>
>>>> s = '|f|o|o|'
>>>> s.strip('|')
>>> s[1:-1]
'f|o|o'
-Markus