Posts by Igor Nunes • 1 point
1 post
-
0
votes5
answers7927
viewsA: Take name and surname of a string
Digging up a topic... I needed it now, I needed a first and last name: var nomeCompleto = "Renan Rodrigues Moraes"; var nome = nomeCompleto.split(" ")[0]; var qtdnome = nomeCompleto.split("…
javascriptanswered Igor Nunes 1