js startswitch
message = "<yay!"
if(message.startsWith("<")) {
message = message.replace("<", "")
}
console.log(message)
// output: "yay!"
Worried Warbler
message = "<yay!"
if(message.startsWith("<")) {
message = message.replace("<", "")
}
console.log(message)
// output: "yay!"