M
M
MrZillaGold2019-03-22 13:44:41
JavaScript
MrZillaGold, 2019-03-22 13:44:41

How to separate text from character?

When entering text into a message, for example:
/whitelist list
Separate whitelist list from / to be used later for other queries.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valentin, 2019-03-22
@MrZillaGold

alert('/whitelist list'.replace("/", ""))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question