Substring function incorrectly defined in language reference?


Author
Message
Sercan
Sercan
Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)Expert (1K reputation)
Group: Forum Members
Posts: 25, Visits: 120
I am trying to pull a single character at index values.trialcount from a long character string values.sequence. This does not work (suggested by the help file):
values.trialtype = substring(values.substring, values.trialcount,values.trialcount);

Neither does this (suggested by the inquisit tooltip):
values.trialtype = values.sequence.substring(values.trialcount,1);

What should I do?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search