How can I get the number of word in a text layer?
Posted: April 18th, 2017, 11:56 pm
Hey there,
Currently, I can count characters with this:
What I really need is a way to count the number of words within a text layer.
Is this possible?
Thanks in advance!
Currently, I can count characters with this:
Code: Select all
myText = text.sourceText;
myText.length
Is this possible?
Thanks in advance!
