- 1
I want to write code witch can detect some combination.
for exmp:word "Javascript " betwen the many words and also I want to write code witch is short and standard. i know some methods like slice replace subster indexof search but do these are usefull I dont know😵😵😲
3 Réponses
0
from the description, it seems that you want to just check if a certain string is inside another string. this is ridiculously easy using the “in“ operator and an if statement. What are you trying to do?
0
do you want to search a word in a text?
if so, are you asking about a lesson module end code coach?
0
imagine you have a paragraph and you see some bad words such as insults and you wish to program automatically change them to something else so you need a syntax witch can find and replace the strings smartly.