Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
How i access via script a single element from a textfield defined as Comb Of Characters?
You can use the charAt() method which returns a characters at the defined index position (index is 0-based).
var singleChar = Textfield.rawValue.charAt(2); // returns the 3rd character
hi, thanks for answer, but didn't work! I got a error
this the code:
var teste = Campotexto3.rawValue.charAt(2)
$host.messageBox(teste)
You have to select JavaScript as language in the script editor!
Views
Likes
Replies