Created
July 27, 2016 02:19
-
-
Save 328/73aafe308852b95ef708026cbe442c35 to your computer and use it in GitHub Desktop.
電話番号からハイフンを取るruby script
This file contains hidden or 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
| hoge = '000-0000-0000' | |
| hoge.delete('-') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment