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));
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more