diff --git a/README.md b/README.md index a77dffd..af08aa8 100644 --- a/README.md +++ b/README.md @@ -240,8 +240,8 @@ from numbers import Number, Integral, Real, Rational, Complex String ------ ```python - = .strip() # Strips all whitespace characters from both ends. - = .strip('') # Strips all passed characters from both ends. + = .strip() # Strips all whitespace characters from both ends. + = .strip('') # Strips all passed characters from both ends. ``` ```python @@ -251,12 +251,15 @@ String ``` ```python - = .replace(old_str, new_str) - = .startswith() # Pass tuple of strings for multiple options. - = .endswith() # Pass tuple of strings for multiple options. - = .index() # Returns start index of first match. - = .isnumeric() # True if str contains only numeric characters. - = textwrap.wrap(, width) # Nicely breaks string into lines. + = .replace(old, new [, count]) # Replaces 'old' with 'new' at most 'count' times. + = .startswith() # Pass tuple of strings for multiple options. + = .endswith() # Pass tuple of strings for multiple options. + = .index() # Returns start index of first match. +``` + +```python + = .isnumeric() # True if str contains only numeric characters. + = textwrap.wrap(, width) # Nicely breaks string into lines. ``` ### Char