Using JQuery Syntax:
var = groupName;
groupName.search(‘searchoworld’);
Source: javascript – How do I check if string contains substring? – Stack Overflow
Using JQuery Syntax:
var = groupName;
groupName.search(‘searchoworld’);
Source: javascript – How do I check if string contains substring? – Stack Overflow