string-contains
v0.1.0
Published
Function that checks if a string contains another string
Downloads
686
Readme
string-contains
Function to check if a string contains another string
Install
Install with npm:
npm install string-contains --save-dev
Usage
var contains = require("string-contains");
console.log(contains("Hello world", "world"));
//=> 'true'
Author
Tor Arne Kvaløy
License
Copyright (c) 2014 Tor Arne Kvaløy, contributors.
Released under the MIT license