I am pulling in city and state names like this – Dallas,TX. I need to add a space after the comma. Is there a way to find the comma and add in the space after?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
String.replaceto replace any occurrences of “,” with “, “, for example:You can look here for more information on String and its member functions:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/String.html