Function::String
StringFrom
StringFrom(String,StringToSearchfor)
StringFrom("My Test this is a Test string","Test") -- will return string as it search for the last occurrence.
retval := StringFrom(MyTextField,SearchFor) .

To return the remainder of a string after the search. Very useful for trimming file names from paths etc.

It search from the tail of the string i.e. right to left so will return everything after the last occurrence in the string seen from the left (normal direction).

Parameters

SearchString: String

String that will be searched.

StringToSearchFor:

The match we are looking for.

Returns/Result

String(255): Everything after StringToSearchFor but not inclusive. If no match return blank.
Examples

Example1:

StringFrom("C:\Users\Admin\Documents\Invoice.pdf","\")

This will return "Invoice.pdf" as it search right to left and will return everything after the last \ in the string.