function trim(str)
{
  return str.replace(/^\s+|\s+$/g,"");
} 

Random Posts



Leave a Comment