How to remove first character from a string using javascript

I have generated a string from loop using concatenation and trying to get comma separated values. 

I want to remove first comma from the string using javascript.

eg: selecteddocType = ",doc1,doc2,doc3";

Asked 01 Jan, 16 at 12:43 AM

Rishu Singh
Javascript String

Answer

Not answersed yet.