diff --git a/README.md b/README.md index 38c1dd8..31d25cc 100644 --- a/README.md +++ b/README.md @@ -197,15 +197,18 @@ is_function = callable() String ------ ```python - = .replace(old_str, new_str) - = .split(sep=None, maxsplit=-1) # Splits on whitespaces by default. = .strip('') + = .split(sep=None, maxsplit=-1) # Splits on any whitespace char by default. = .join() - = .startswith() # Pass tuple of strings for multiple options. - = .endswith() # Pass tuple of strings for multiple options. - = .isnumeric() # True if str contains only numeric characters. - = .index() # Returns first index of substring. - = textwrap.wrap(text, width) # Nicely breakes text into lines. + = .replace(old_str, new_str) +``` + +```python + = .startswith() # Pass tuple of strings for multiple options. + = .endswith() # Pass tuple of strings for multiple options. + = .index() # Returns first index of a substring. + = .isnumeric() # True if str contains only numeric characters. + = textwrap.wrap(, width) # Nicely breakes string into lines. ``` ### Char