mituri

[js] isContainsSubstring()

Jul 2nd, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. function isContainsSubstring(string, substring) {
  2. return (string.indexOf(substring) >= 0);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment