-
-
Save parzibyte/bea3966b4335ec9c41a4b5eea58bac6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let cadena = "Hola mundo, soy una cadena. Me gusta programar en JavaScript desde parzibyte.me"; | |
console.log("Original es: "); | |
console.log(cadena); | |
const maximaLongitud = 5; | |
const separador = "_"; | |
const separada = separarCadenaSiSuperaLongitud(cadena, maximaLongitud, separador); | |
console.log("Separada es: "); | |
console.log(separada); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment