reverse {SparkR}R Documentation

reverse

Description

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

Usage

reverse(x)

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

Arguments

x

Column to compute on.

Note

reverse since 1.5.0

See Also

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

Examples

## Not run: reverse(df$c)

[Package SparkR version 2.1.3 Index]