Returns a string which is the subset of haystack after needle and not including itself. If needle is not present in needle, returns an empty string. If haystack is empty, throws an exception.needle
Usage
{{after_string haystack needle flags="irt"}}
Arguments
haystack
The input string
needle
The boundary string.
flags
- i: treat delimiter as not case-sensitive (default is case-sensitive)
- r: split text at last instance of delimiter instead of the first
- t: trim the final result prior to returning (remove all whitespace from beginning and end)