Navigation: Realtest Script Language > Syntax Element Details > GetField Category String Functions Description Extract a delimited substring from a string Syntax GetField(string, delimiter, instance) Parameters string - a literal string enclosed in either double or single quotes ("string" or 'string') or a string function delimiter - a string (or function) containing the delimiter used to mark the start and/or end of a field instance - the instance number of the field to return (1 being the first) Return Value The extracted field as a string. Notes Though delimiter is typically one character such as "," it can also be multiple characters. Example GetField("a-b-c", "-", 2) returns "b". Copyright © 2020-2025 Systematic Solutions, LLC