Javascript - replace first character of string
Posted
by MgS
on Stack Overflow
See other posts from Stack Overflow
or by MgS
Published on 2010-06-07T19:00:23Z
Indexed on
2010/06/07
19:32 UTC
Read the original article
Hit count: 177
JavaScript
I have a string |0|0|0|0
but it needs to be 0|0|0|0
How do I replace the first character ('|'
) with (''
). eg replace('|','')
(with JavaScript)
© Stack Overflow or respective owner