0

I need to text character convert to array elements,

word.text="Hello";

I don't know how is convert

wordArray=["H","e","l","l","o"];

1 Answer 1

1

This is a very basic question and a search on google would have given you the right answer.... But anyway....

 wordArray = word.text.split('');
Sign up to request clarification or add additional context in comments.

1 Comment

small typo - without last dot )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.