Hi Guys,
I need to setup a function to remove the first character of a string but only if it is a comma (, - Ive found the substr function but this will remove anything reagrdless of what it is.
I thinking some regex might be involved and i had a look but i cannot work it out
My current code is
text.value = newvalue.substr(1);
Thanks in advance