getSuffix function

Synopsis

  • string getSuffix(string inputstring, string matchString)

Returns

Extract inputString up to first 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"

In this topic