Returns a token from a parsed character value.
Valid in: | DATA step, PROC SQL, and SCL |
Restriction: | Do not attempt to extract tokens from parsed values using any means other than the DQPARSETOKENGET function. |
Requirement: | If specified, the locale must be loaded into memory as part of the locale list. |
specifies a character constant, variable, or expression that contains the value that is the parsed character value from which the value of the specified token is returned.
the name of the token that is returned from the parsed value. The token must be enabled by the specified parse definition
specifies a character constant, variable, or expression that contains the locale name.
Default | The default locale is the first locale in the locale list. If no value is specified, the default locale is used. |
parsedValue=dqParse('Mrs. Sallie Mae Pravlik', 'NAME', 'ENUSA'); prefix=dqParseTokenGet(parsedValue, 'Name Prefix', 'NAME', 'ENUSA'); given=dqParseTokenGet(parsedValue, 'Given Name', 'NAME', 'ENUSA');
prefix
is Mrs.
and
the value of given
is Sallie
.