Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
0

array isue

Explorer ,
May 09, 2015 May 09, 2015

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)

TOPICS
ActionScript
278
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 09, 2015 May 09, 2015

trace(arr[1].charAt(2));

Translate
LEGEND ,
May 09, 2015 May 09, 2015
LATEST

trace(arr[1].charAt(2));

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines