ReverseString

See javadoc - uk.gov.gchq.koryphe.impl.function.ReverseString

Available since Koryphe version 1.9.0

Reverse characters in string

Examples

Reverse strings

Java
JSON
Full JSON
Python
final ReverseString function = new ReverseString();
{
  "class" : "ReverseString"
}
{
  "class" : "uk.gov.gchq.koryphe.impl.function.ReverseString"
}
g.ReverseString()

Input type:

java.lang.String

Example inputs:

Input TypeInputResult TypeResult
java.lang.Stringreversejava.lang.Stringesrever
java.lang.Stringesreverjava.lang.Stringreverse
nullnull
java.lang.Long54ClassCastException: java.lang.Long cannot be cast to java.lang.String

results matching ""

    No results matching ""