Posted By

dato on 10/04/11


Tagged

javascript replace String slash cadena barra caracter reemplazar


Versions (?)

String slash replace


 / Published in: JavaScript
 

  1. //eg replace "/" by "-"
  2. fecha=12/10/2011;
  3. fecha=fecha.replace(/\//g,"-");

Report this snippet  

You need to login to post a comment.