From 3f9892fc99bba78603dc7082c2852844f7ee374b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 25 Dec 2018 18:48:54 +0100 Subject: [PATCH] Format --- README.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index aa82615..fba8641 100644 --- a/README.md +++ b/README.md @@ -197,20 +197,23 @@ is_function = callable() String ------ ```python - = .strip() # Strips all whitespace characters. - = .strip('') # Strips all passed characters. + = .strip() # Strips all whitespace characters. + = .strip('') # Strips all passed characters. +``` + +```python = .split() # Splits on any whitespace character. = .split(sep=None, maxsplit=-1) # Splits on 'sep' at most 'maxsplit' times. + = .join() # Joins elements using as separator. ``` ```python - = .join() = .replace(old_str, new_str) - = .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. + = .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