Python String Methods in R


[Up] [Top]

Documentation for package ‘pystr’ version 2.0.0

Help Pages

pystr Python String Methods in R
pystr_capitalize Capitalize a string.
pystr_center Center a string.
pystr_count Count the occurrences of a substring.
pystr_endswith Check the suffix of a string.
pystr_find Find the lowest index of a substring.
pystr_format Format a string.
pystr_index Find the lowest index of a substring.
pystr_isalnum Check if a string is alphanumeric.
pystr_isalpha Check if a string is alphabetic.
pystr_islower Check if a string is lowercase.
pystr_isnumeric Check if a string is numeric.
pystr_isspace Check if a string is whitespace.
pystr_istitle Check if a string is titlecase.
pystr_isupper Check if a string is uppercase.
pystr_join Join the elements of a character vector or list into a string.
pystr_ljust Left justify a string.
pystr_lower Lowercase a string.
pystr_lstrip Left strip a string.
pystr_maketrans Create a character map.
pystr_partition Partition a string.
pystr_replace Replace substrings within a string.
pystr_rfind Find the highest index of a substring.
pystr_rindex Find the highest index of a substring.
pystr_rjust Right justify a string.
pystr_rpartition Partition a string from the right.
pystr_rsplit Right split a string.
pystr_rstrip Right strip a string.
pystr_split Split a string.
pystr_splitlines Split a string at linebreaks.
pystr_startswith Check the prefix of a string.
pystr_strip Strip a string.
pystr_swapcase Swap the case of a string.
pystr_title Titlecase a string.
pystr_translate Translate a string.
pystr_upper Uppercase a string.
pystr_zfill Zero-pad a string.