Unsupported content

 

This version of the product is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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

  1. Hitesh Kumar

    Hi Duncan, If I need only apim-platform-test.srv.volvo.com from the below string .How can we use the text.strip function here ? "IBM APIConnect Manager apim-platform-test.srv.volvo.com"

    Jun 08, 2021 09:57