Created
October 24, 2011 11:02
-
-
Save 2no/1308776 to your computer and use it in GitHub Desktop.
Flash でトリム?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trace(" hogehoge ".replace(/^[\s\t\r\n\0\0xB ]*|[\s\t\r\n\0\0xB ]*$/sg, "")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment