27
rated 0 times
[
33]
[
6]
/ answers: 1 / hits: 51377
/ 13 Years ago, mon, august 8, 2011, 12:00:00
What is the easiest way to insert hyphens in JavaScript?
I have a phone number eg. 1234567890
While displaying in the front-end, I have to display it as 123-456-7890
using JavaScript.
What is the simplest way to achieve this?
More From » insert