Browse Source

Format

pull/3/head
Jure Šorn 5 years ago
parent
commit
efda725c57
1 changed files with 4 additions and 2 deletions
  1. 6
      README.md

6
README.md

@ -197,8 +197,10 @@ is_function = callable(<el>)
String
------
```python
<str> = <str>.strip('<chars>')
<list> = <str>.split(sep=None, maxsplit=-1) # Splits on any whitespace char by default.
<str> = <str>.strip() # Strips all whitespace characters.
<str> = <str>.strip('<chars>') # Strips all passed characters.
<list> = <str>.split() # Splits on any whitespace character.
<list> = <str>.split(sep=None, maxsplit=-1) # Splits on 'sep' at most 'maxsplit' times.
<str> = <str>.join(<list>)
<str> = <str>.replace(old_str, new_str)
```

Loading…
Cancel
Save