text.strip
text.strip(string [, characters ] )
— (7.1 and later)
Strips unwanted characters from the start and end of the given string. If the optional characters
is not provided, white space characters are stripped; if characters
is provided, it contains the characters that are to be removed.
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.