getSuffix function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

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