Skip to content

cjflory/jquery.strFunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery.strFunctions

Simple jQuery string functions

Usage

Requires jQuery

Referencing the script

<script src="/path/to/jquery.strFunctions.js" type="text/javascript"></script>

Using the script

$.strContains("string to search", "to"); // true
$.strContains("string to search", "not there"); // false

$.strStartsWith("string to search", "string"); // true
$.strStartsWith("string to search", "search"); // false

$.strEndsWith("string to search", "search"); // true
$.strEndsWith("string to search", "string"); // false

About

Simple jQuery string functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published