remove_first


Removes the first occurrence of the string value found within the parameter


Syntax


{{ <Parameter> | remove_first: <Search> }}



Arguments

Parameter - A string literal or name of the input parameter that will be searched through


Search - The first occurrence of the supplied string literal will be removed from the parameter


Example 1:

InputParameter Value


'The following information has been REDACTED from view by the REDACTED'



Input


{{ InputParameter | remove_first: 'REDACTED'}}



Output


''The following information has been  from view by the REDACTED'