reverse {SparkR}R Documentation

reverse

Description

Reverses the string column and returns it as a new string column.

Usage

## S4 method for signature 'Column'
reverse(x)

reverse(x)

See Also

Other string_funcs: ascii, ascii; base64, base64; concat_ws, concat_ws; concat, concat; format_number, format_number; format_string, format_string; initcap, initcap; instr, instr; length; levenshtein, levenshtein; locate, locate; lower, lower; lpad, lpad; ltrim, ltrim; regexp_extract, regexp_extract; regexp_replace, regexp_replace; rpad, rpad; rtrim, rtrim; soundex, soundex; substring_index, substring_index; translate, translate; trim, trim; unbase64, unbase64; upper, upper

Examples

## Not run: reverse(df$c)

[Package SparkR version 1.5.1 Index]