0
How can I remove a string (using remove method)
4 Respostas
+ 1
lt's not clear what exactly you want to do.
If you want to remove part of a string, you use the replace method.
'caramel'.replace('ra', '')
Output: 'camel'
+ 1
Tnx
0
I wanna get an input and remove vowels
0
Then my method would be one way to accomplish it.