Let’s say I have test_23 and I want to remove test_.
How do I do that?
The prefix before _ can change.
Let’s say I have test_23 and I want to remove test_.
How do I do that?
The prefix before _ can change.
If you want to remove part of string
let str = "try_me";
str.replace("try_", "");
// me
If you want to replace part of string
let str = "try_me";
str.replace("try_", "test_");
// test_me