Home / Search/ Language Reference/ Functions/ Scalar Functions/ String Functions/reverse

reverse

The reverse function reverses the order of the input string. If the input value isn’t of type string, then the function forcibly casts the value to type string.

Syntax

    reverse( Source )

Arguments

  • Source: Input value.

Results

The reverse order of a string value.

Examples

print str1="Hello" | extend newstr=reverse(str1)