1

Suppose I have the following variable:

set @var = 'firstName|lastName|age|gender'

If I call,

%%=v(IndexOf(@var, '|'))=%%

The output with be 10

How can I find the index of each '|' in the variable?

Mike K
  • 7,621
  • 14
  • 60
  • 120

1 Answers1

1

Good question. I ran into this issue the other day.

There's a function called BUILDROWSETFROMSTRING()

Check it out

displayName
  • 155
  • 1
  • 9