javascript search specific string and substring position code example
Example 1: javascript search like
let searchValue = 'usu'
let filteredNames = names.filter(name => name.includes(searchValue));
Example 2: javascript search like
let names = ['yusuf', 'sabri', 'bayrakdar'];