Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 5
How to delete current characters in a string?
I want to remove the characters in string and let the user to reenter it
3 Respostas
+ 3
Char *str = "sometaxt";
You can deal with char as array so you can say
str[5]='e';
+ 2
Reinitialize it to an empty string "'' āŗļø
+ 1
var name = "john";
clearButton.onclick = function(){
name = "";
}
Simple, change value as empty string