str_rm_numbers {textTools} | R Documentation |
Remove and replace numbers from strings.
Description
Remove and replace numbers from strings.
Usage
str_rm_numbers(x, replacement = "")
Arguments
x |
A vector or string. |
replacement |
A string to replace the numbers with, defaults to "". |
Value
x, with numbers 0-9 removed/replaced.
Examples
str_rm_numbers(c("test 1a234b5", "test 67890"))
[Package textTools version 0.1.0 Index]