You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnstrip(self) -> Self:
"""Return a copy of the string with leading and trailing whitespaces removed. This only takes ASCII whitespace into account: `" \\t\\n\\v\\f\\r\\x1c\\x1d\\x1e"`. Returns: A copy of the string with no leading or trailing whitespaces. Examples: ```mojoprint(" mojo ".strip()) # "mojo" ``` ."""returnself.lstrip().rstrip()
System information
- Provide version information for Mojo by pasting the output of `mojo -v``mojo 25.1.0.dev2024121705`
The text was updated successfully, but these errors were encountered:
Bug description
This happens in the nightly branch in
StringSlice.strip()
CC: @walter-erquinigo
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: