capitalize() | Return a copy of the string with its first character capitalized and the rest lowercased | | |
center(width[, fillchar]) | Return centered in a string of length width. Padding is done using the specified fillchar (default is a space) | | |
count(sub[, start[, end]]) | Return the number of non-overlapping occurrences of substring sub in the range [start, end] | | |
decode | Decodes the string using the codec registered for encoding | | |
encode([encoding[, errors]]) | Return an encoded version of the string. Default encoding is the current default string encoding | | |
endswith(suffix[, start[, end]]) | Return True if the string ends with the specified suffix, otherwise return False | | |
expandtabs([tabsize]) | Return a copy of the string where all tab characters are replaced by one or more spaces, depending on the current column and the given tab size | | |
find(sub[, start[, end]]) | Return the lowest index in the string where substring sub is found, such that sub is contained in the slice s[start:end] | | |
format(*args, **kwargs) | Perform a string formatting operation | | |
index(sub[, start[, end]]) | Like find(), but raise ValueError when the substring is not found | | |
isalnum() | Return true if all characters in the string are alphanumeric and there is at least one character, false otherwise | | |
isalpha() | Return true if all characters in the string are alphabetic and there is at least one character, false otherwise | | |
isdigit() | Return true if all characters in the string are digits and there is at least one character, false otherwise | | |
islower() | Return true if all cased characters in the string are lowercase and there is at least one cased character, false otherwise | | |
isspace() | Return true if there are only whitespace characters in the string and there is at least one character, false otherwise | | |
istitle() | Return true if the string is a titlecased string and there is at least one character, for example uppercase characters may only follow uncased characters and lowercase characters only cased ones | | |
isupper() | Return true if all cased characters in the string are uppercase and there is at least one cased character, false otherwise | | |
join(iterable) | Return a string which is the concatenation of the strings in the iterable iterable | | |
ljust(width[, fillchar]) | Return the string left justified in a string of length width | | |
lower() | Return a copy of the string converted to lowercase | | |
lstrip([chars]) | Return a copy of the string with leading characters removed | | |
partition(sep) | Split the string at the first occurrence of sep, and return a 3-tuple containing the part before the separator, the separator itself, and the part after the separator | | |
replace(old, new[, count]) | Return a copy of the string with all occurrences of substring old replaced by new | | |
rfind(sub[, start[, end]]) | Return the highest index in the string where substring sub is found, such that sub is contained within s[start:end] | | |
rindex(sub[, start[, end]]) | Like rfind() but raises ValueError when the substring sub is not found | | |
rjust(width[, fillchar]) | Return the string right justified in a string of length width | | |
rpartition(sep) | Split the string at the last occurrence of sep, and return a 3-tuple containing the part before the separator, the separator itself, and the part after the separator | | |
rsplit([sep[, maxsplit]]) | Return a list of the words in the string, using sep as the delimiter string | | |
rstrip([chars]) | Return a copy of the string with trailing characters removed | | |
split([sep[, maxsplit]]) | Return a list of the words in the string, using sep as the delimiter string | | |
splitlines([keepends]) | Return a list of the lines in the string, breaking at line boundaries | | |
startswith(prefix[, start[, end]]) | Return True if string starts with the prefix, otherwise return False | | |
strip([chars]) | Return a copy of the string with the leading and trailing characters removed | | |
swapcase | Return a copy of the string with uppercase characters converted to lowercase and vice versa | | |
title() | Return a titlecased version of the string where words start with an uppercase character and the remaining characters are lowercase | | |
translate(table[, deletechars]) | Return a copy of the string where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped through the given translation table, which must be a string of length 256 | | |
upper() | Return a copy of the string converted to uppercase | | |
zfill(width) | Return the numeric string left filled with zeros in a string of length width | | |
isnumeric() | Return True if there are only numeric characters in S, False otherwise. Numeric characters include digit characters, and all characters that have the Unicode numeric value property, e.g. U+2155, VULGAR FRACTION ONE FIFTH | | |
isdecimal() | Return True if there are only decimal characters in S, False otherwise | | |