Apache NiFi RecordPath Guide
Also available as:
PDF

substringAfter

Returns the portion of a String value that occurs after the first occurrence of some other value.

RecordPath

Return value

substringAfter( /name, ' ' )

Doe

substringAfter( /name, 'o' )

hn Doe

substringAfter( /name, '' )

John Doe

substringAfter( /name, 'xyz' )

John Doe