From 0e9c72f8e2478ef975a874f14c28ad08a09bda92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 25 Dec 2018 18:21:10 +0100 Subject: [PATCH] Format --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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