0

How can I remove a string (using remove method)

26th Jun 2019, 12:58 PM
ATENA
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'
26th Jun 2019, 1:04 PM
HonFu
HonFu - avatar
+ 1
Tnx
26th Jun 2019, 1:10 PM
ATENA
0
I wanna get an input and remove vowels
26th Jun 2019, 1:05 PM
ATENA
0
Then my method would be one way to accomplish it.
26th Jun 2019, 1:09 PM
HonFu
HonFu - avatar