str
dz / python / docs / stdtypes / strNode Tree
Nodes
| isalnum | |
| content | str.isalnum(): Return True if all characters in the string are alphanumeric and there is at least one character, False otherwise. A character c is alphanumeric if one of the following returns True: c.isalpha(), c.isdecimal(), c.isdigit(), or c.isnumeric(). |
| children | python/flashcards/alphanumeric |
| parents | python/docs/stdtypes/str, leetcode/problems/125_valid_palindrome |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.isalnum |
| location | knowledge/python.dz:31 |
| isalpha | |
| content | str.isalpha(): Return True if all characters in the string are alphabetic and there is at least one character, False otherwise. |
| children | python/flashcards/alphabetic |
| parents | python/docs/stdtypes/str, leetcode/problems/125_valid_palindrome |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.isalpha |
| location | knowledge/python.dz:48 |
| isnumeric | |
| content | str.isalpha(): Return True if all characters in the string are alphabetic and there is at least one character, False otherwise. |
| children | python/flashcards/numeric |
| parents | python/docs/stdtypes/str, leetcode/problems/125_valid_palindrome |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.isnumeric |
| location | knowledge/python.dz:60 |
| lower | |
| content | Return a copy of the string with all the cased characters converted to lowercase. |
| children | python/flashcards/lowercase, upper |
| parents | python/docs/stdtypes/str, leetcode/problems/125_valid_palindrome |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.lower |
| location | knowledge/python.dz:72 |
| upper | |
| content | Return a copy of the string with all the cased characters converted to uppercase. |
| children | python/flashcards/uppercase |
| parents | python/docs/stdtypes/str, lower |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.upper |
| location | knowledge/python.dz:83 |
| format | |
| content | str.format(): produces formatted string |
| parents | python/docs/stdtypes/str, leetcode/problems/67_add_binary |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.format |
| location | knowledge/python.dz:198 |
| zfill | |
| content | str.zfill(widht): return copy of the string left-filled with ascii '0' digits to make string of lenght =width=. |
| parents | leetcode/problems/67_add_binary |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.zfill |
| location | knowledge/python.dz:209 |
| split | |
| content | split |
| remarks | if no delimiter provided, the algorithm changes and will split on variable whitespace |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.split |
| location | knowledge/python.dz:255 |
| encode | |
| content | str.encode(): return the string encoded to bytes, returns utf-8 by default. |
| parents | python/docs/stdtypes/str, python/docs/stdtypes/bytes |
| hyperlink | https://docs.python.org/3/library/stdtypes.html#str.encode |
| location | knowledge/python.dz:528 |