fake-api/index.js
// Check if one string contains another
Check if one string contains another
Check if one string contains another
function strContains(containerStr, containeeStr) {
  containerStr = containerStr.toLowerCase();
  containeeStr = containeeStr.toLowerCase();
  return containerStr.indexOf(containeeStr) !== -1;
}
function strContains ( containerStr , containeeStr ) { containerStr = containerStr . toLowerCase ( ) ; containeeStr = containeeStr . toLowerCase ( ) ; return containerStr . indexOf ( containeeStr ) !== - 1 ; }
Check if one string contains another
Check if one string contains another