Rdocumentation
powered by
Learn R Programming
pystr (version 2.0.0)
Python String Methods in R
Description
String operations the Python way - a package for those of us who miss Python's string methods while we're working in R.
Copy Link
Link to current version
Version
Version
2.0.0
1.0.0
Install
install.packages('pystr')
Monthly Downloads
35
Version
2.0.0
License
MIT + file LICENSE
Issues
2
Pull Requests
0
Stars
102
Forks
5
Repository
https://github.com/nicolewhite/pystr
Maintainer
Nicole White
Last Published
May 11th, 2016
Functions in pystr (2.0.0)
Search all functions
pystr_strip
Strip a string.
pystr_split
Split a string.
pystr_zfill
Zero-pad a string.
pystr_capitalize
Capitalize a string.
pystr_center
Center a string.
pystr_isnumeric
Check if a string is numeric.
pystr_find
Find the lowest index of a substring.
pystr_count
Count the occurrences of a substring.
pystr_lower
Lowercase a string.
pystr_istitle
Check if a string is titlecase.
pystr_endswith
Check the suffix of a string.
pystr_rpartition
Partition a string from the right.
pystr_upper
Uppercase a string.
pystr_swapcase
Swap the case of a string.
pystr_index
Find the lowest index of a substring.
pystr_rstrip
Right strip a string.
pystr_partition
Partition a string.
pystr_rfind
Find the highest index of a substring.
pystr_splitlines
Split a string at linebreaks.
pystr_replace
Replace substrings within a string.
pystr_isalnum
Check if a string is alphanumeric.
pystr_isalpha
Check if a string is alphabetic.
pystr_isupper
Check if a string is uppercase.
pystr
Python String Methods in R
pystr_isspace
Check if a string is whitespace.
pystr_lstrip
Left strip a string.
pystr_ljust
Left justify a string.
pystr_title
Titlecase a string.
pystr_format
Format a string.
pystr_rindex
Find the highest index of a substring.
pystr_rsplit
Right split a string.
pystr_rjust
Right justify a string.
pystr_islower
Check if a string is lowercase.
pystr_startswith
Check the prefix of a string.
pystr_maketrans
Create a character map.
pystr_translate
Translate a string.
pystr_join
Join the elements of a character vector or list into a string.