Skip to contents

Perform an SQL RIGHT type function

Usage

sql_right(.text, .num_char)

Arguments

.text

A piece of text/string to be manipulated

.num_char

How many characters do you want to grab

Details

  • You must supply data that you want to manipulate.

See also

Other Utilities: opt_bin(), save_to_excel(), sql_left(), sql_mid()

Author

Steven P. Sanderson II, MPH

Examples


sql_right("this is some more text", 3)
#> [1] "ext"