pystr: Python String Methods in R

String operations the Python way - a package for those of us who miss Python's string methods while we're working in R.

Author
Nicole White [aut, cre], Oliver Keyes [aut]
Date of publication
2016-05-11 12:06:48
Maintainer
Nicole White <nicole.m.white@outlook.com>
License
MIT + file LICENSE
Version
2.0.0
URLs

View on CRAN

Man 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...
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.

Files in this package

pystr
pystr/tests
pystr/tests/testthat.R
pystr/tests/testthat
pystr/tests/testthat/test-pystr_istitle.R
pystr/tests/testthat/test-pystr_lower.R
pystr/tests/testthat/test-pystr_islower.R
pystr/tests/testthat/test-pystr_splitlines.R
pystr/tests/testthat/test-pystr_startswith.R
pystr/tests/testthat/test-pystr_title.R
pystr/tests/testthat/test-pystr_split.R
pystr/tests/testthat/test-pystr_center.R
pystr/tests/testthat/test-pystr_rindex.R
pystr/tests/testthat/test-pystr_isalpha.R
pystr/tests/testthat/test-pystr_rfind.R
pystr/tests/testthat/test-pystr_rstrip.R
pystr/tests/testthat/test-pystr_isupper.R
pystr/tests/testthat/test-pystr_zfill.R
pystr/tests/testthat/test-pystr_upper.R
pystr/tests/testthat/test-pystr_rsplit.R
pystr/tests/testthat/test-pystr_capitalize.R
pystr/tests/testthat/test-pystr_ljust.R
pystr/tests/testthat/test-pystr_isspace.R
pystr/tests/testthat/test-pystr_lstrip.R
pystr/tests/testthat/test-pystr_partition.R
pystr/tests/testthat/test-pystr_format.R
pystr/tests/testthat/test-pystr_endswith.R
pystr/tests/testthat/test-pystr_maketrans.R
pystr/tests/testthat/test-pystr_swapcase.R
pystr/tests/testthat/test-pystr_isalnum.R
pystr/tests/testthat/test-pystr_rpartition.R
pystr/tests/testthat/test-pystr_find.R
pystr/tests/testthat/test-pystr_isnumeric.R
pystr/tests/testthat/test-pystr_strip.R
pystr/tests/testthat/test-pystr_replace.R
pystr/tests/testthat/test-pystr_rjust.R
pystr/tests/testthat/test-pystr_count.R
pystr/tests/testthat/test-pystr_join.R
pystr/tests/testthat/test-pystr_index.R
pystr/tests/testthat/test-pystr_translate.R
pystr/src
pystr/src/pystr_isupper.cpp
pystr/src/pystr_isalnum.cpp
pystr/src/pystr_isalpha.cpp
pystr/src/pystr_center.cpp
pystr/src/pystr_isnumeric.cpp
pystr/src/pystr_islower.cpp
pystr/src/pystr_lstrip.cpp
pystr/src/pystr_capitalize.cpp
pystr/src/RcppExports.cpp
pystr/src/pystr_count.cpp
pystr/src/pystr_rstrip.cpp
pystr/NAMESPACE
pystr/NEWS
pystr/R
pystr/R/pystr_join.R
pystr/R/pystr_center.R
pystr/R/pystr_lower.R
pystr/R/pystr_makestrans.R
pystr/R/pystr.R
pystr/R/pystr_strip.R
pystr/R/pystr_upper.R
pystr/R/pystr_lstrip.R
pystr/R/pystr_rpartition.R
pystr/R/pystr_translate.R
pystr/R/pystr_isnumeric.R
pystr/R/pystr_islower.R
pystr/R/pystr_endswith.R
pystr/R/pystr_index.R
pystr/R/pystr_format.R
pystr/R/pystr_rsplit.R
pystr/R/pystr_startswith.R
pystr/R/pystr_capitalize.R
pystr/R/pystr_rjust.R
pystr/R/pystr_rstrip.R
pystr/R/pystr_rfind.R
pystr/R/pystr_ljust.R
pystr/R/RcppExports.R
pystr/R/pystr_isupper.R
pystr/R/pystr_istitle.R
pystr/R/pystr_isspace.R
pystr/R/pystr_isalpha.R
pystr/R/pystr_partition.R
pystr/R/pystr_title.R
pystr/R/pystr_rindex.R
pystr/R/pystr_splitlines.R
pystr/R/pystr_count.R
pystr/R/pystr_split.R
pystr/R/pystr_find.R
pystr/R/pystr_isalnum.R
pystr/R/pystr_swapcase.R
pystr/R/pystr_replace.R
pystr/R/pystr_zfill.R
pystr/MD5
pystr/DESCRIPTION
pystr/man
pystr/man/pystr.Rd
pystr/man/pystr_strip.Rd
pystr/man/pystr_endswith.Rd
pystr/man/pystr_isnumeric.Rd
pystr/man/pystr_join.Rd
pystr/man/pystr_rsplit.Rd
pystr/man/pystr_rindex.Rd
pystr/man/pystr_rpartition.Rd
pystr/man/pystr_istitle.Rd
pystr/man/pystr_translate.Rd
pystr/man/pystr_islower.Rd
pystr/man/pystr_title.Rd
pystr/man/pystr_count.Rd
pystr/man/pystr_rfind.Rd
pystr/man/pystr_ljust.Rd
pystr/man/pystr_isalpha.Rd
pystr/man/pystr_splitlines.Rd
pystr/man/pystr_isupper.Rd
pystr/man/pystr_find.Rd
pystr/man/pystr_partition.Rd
pystr/man/pystr_lower.Rd
pystr/man/pystr_capitalize.Rd
pystr/man/pystr_isalnum.Rd
pystr/man/pystr_upper.Rd
pystr/man/pystr_format.Rd
pystr/man/pystr_maketrans.Rd
pystr/man/pystr_startswith.Rd
pystr/man/pystr_center.Rd
pystr/man/pystr_index.Rd
pystr/man/pystr_swapcase.Rd
pystr/man/pystr_split.Rd
pystr/man/pystr_replace.Rd
pystr/man/pystr_isspace.Rd
pystr/man/pystr_rjust.Rd
pystr/man/pystr_lstrip.Rd
pystr/man/pystr_rstrip.Rd
pystr/man/pystr_zfill.Rd
pystr/LICENSE