Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

eliminar el ultimo caracter de un string javascript

let cadena = "parzibyte.mee";
let cadenaCorregida = cadena.substring(0, cadena.length - 1);
console.log(cadenaCorregida);
// => parzibyte.me
 
PREVIOUS NEXT
Tagged: #eliminar #el #ultimo #caracter #de #string #javascript
ADD COMMENT
Topic
Name
6+3 =