Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemanley committed Dec 7, 2024
1 parent 3223f8d commit 9ee2d10
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/source/user-guide/expressions/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ the string:

??? info "Similarity to Python string methods"

`strip_chars` is similar to Python's string method
`strip` and `strip_prefix`/`strip_suffix` are similar to Python's string methods `removeprefix` and
`removesuffix`, respectively.
`strip_chars` is similar to Python's string method `strip` and `strip_prefix`/`strip_suffix`
are similar to Python's string methods `removeprefix` and `removesuffix`, respectively.

It is important to understand that the first three functions interpret their string argument as a
set of characters whereas the functions `strip_prefix` and `strip_suffix` do interpret their string
Expand Down

0 comments on commit 9ee2d10

Please sign in to comment.