Syntax
- string getSuffix(inputString, matchString)
Parameters
- inputString—string
- matchString—string
Returns
Extract rest of inputString after last occurrence of matchString.
Description
The getSuffix 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"