getSuffix function

string getSuffix(inputString, matchString)

inputString string

matchString string

Returns the rest of inputString after the last occurrence of matchString.

This function extracts the rest of the inputString after the last occurrence of the matchString.

Related

Examples

getSuffix("rule your city with cityengine","city")
# result = "engine"