- 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😵😵😲

24th Feb 2021, 10:20 AM
AmirhosseinYazdani
AmirhosseinYazdani - avatar
3 Respuestas
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?
26th Feb 2021, 4:32 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
do you want to search a word in a text? if so, are you asking about a lesson module end code coach?
26th Feb 2021, 4:42 AM
visph
visph - avatar
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.
26th Feb 2021, 12:01 PM
AmirhosseinYazdani
AmirhosseinYazdani - avatar