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 (\'\'
\'|\'
\'\'
It literally is what you suggested.
"|0|0|0".replace('|', '')
returns "0|0|0"
"0|0|0"