Copy link to clipboard
Copied
how can i trace letters inside an array:
for example if i have an array
var arr:Array = ["dogs", "cats", "oranges", "apples"];
i want to trace what is the third letter of second word (cats)?
answer should be (t)
trace(arr[1].charAt(2));
Copy link to clipboard
Copied
trace(arr[1].charAt(2));
Find more inspiration, events, and resources on the new Adobe Community
Explore Now