Salesforce

StrTokenIdx (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

StrTokenIdx (Magic xpa 3.x)

Returns the token index in a delimited Alpha string.

Syntax:

StrTokenIdx (source string, token, delimiter)

Parameters:

source string – A delimited Alpha string containing at least one token.

token – The token value.

delimiter - Characters separating the tokens in an Alpha string.

Returns:

A numeric value – The position order of the token within the delimited Alpha string as determined by the delimiters.

Example:

StrTokenIdx('AA,BB,CC,DD','CC',',') returns 3.

Note:

A space cannot be a delimiter.

See also:

StrToken, StrTokenCnt

The Online and Rich Client Samples projects (program ST06 and RST06)

Reference
Attachment 
Attachment