/ Published in: ActionScript 3
URL: http://www.burnedouthippy.com/2011/01/replacing-white-space-in-a-string/
Replace "-" with anything you want to. Useful for amending URLs.
Expand |
Embed | Plain Text
yourString = yourString.replace(/\s+/g, '-');
You need to login to post a comment.
