From 47e22fecbfc5b236f541eb9a29f1d0564ddf66ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 25 Dec 2018 18:12:02 +0100 Subject: [PATCH] Format --- README.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 249debc..38c1dd8 100644 --- a/README.md +++ b/README.md @@ -201,10 +201,11 @@ String = .split(sep=None, maxsplit=-1) # Splits on whitespaces by default. = .strip('') = .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. + = .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. ``` ### Char @@ -307,12 +308,6 @@ import re * `'x'` - Hex * `'X'` - HEX -### Text Wrap -```python -import textwrap - = textwrap.wrap(text, width) -``` - Numbers -------