devxlogo

LPad Function in JavaScript

LPad Function in JavaScript

 function LPad(ContentToSize,PadLength,PadChar)  {     var PaddedString=ContentToSize.toString();     for(i=ContentToSize.length+1;I

devx-admin

Share the Post: