StringAppend

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

Available since Koryphe version 1.9.0

Appends a provided suffix to a string.

Examples

Prepend to strings

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

Input type:

java.lang.String

Example inputs:

Input TypeInputResult TypeResult
java.lang.Stringa string of some kindjava.lang.Stringa string of some kindmySuffix
java.lang.Stringjava.lang.StringmySuffix
nullnull
java.lang.Long54ClassCastException: java.lang.Long cannot be cast to java.lang.String

results matching ""

    No results matching ""