Browse Source

String

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

2
README.md

@ -200,7 +200,7 @@ String
<str> = <str>.replace(old_str, new_str) <str> = <str>.replace(old_str, new_str)
<list> = <str>.split(sep=None, maxsplit=-1) # Splits on whitespaces by default. <list> = <str>.split(sep=None, maxsplit=-1) # Splits on whitespaces by default.
<str> = <str>.strip('<chars>') <str> = <str>.strip('<chars>')
<str> = <str>.join(<list>) # Joins elements with separator.
<str> = <str>.join(<list>)
<bool> = <str>.startswith(<str>) # Pass tuple of strings for multiple options. <bool> = <str>.startswith(<str>) # Pass tuple of strings for multiple options.
<bool> = <str>.endswith(<str>) # Pass tuple of strings for multiple options. <bool> = <str>.endswith(<str>) # Pass tuple of strings for multiple options.
<bool> = <str>.isnumeric() # True if str contains only numeric characters. <bool> = <str>.isnumeric() # True if str contains only numeric characters.

Loading…
Cancel
Save