I have a string |0|0|0|0
|0|0|0|0
but it needs to be 0|0|0|0
0|0|0|0
How do I replace the first character (\'|\') with (\'\'
\'|\'
\'\'
"|0|0|0|0".split("").reverse().join("") //can also reverse the string => 0|0|0|0|