TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Find a string contains a particular string in JQuery
Sibeesh Venu
Jan 02
2015
Code
1.8
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
var
myVar=
"sibeesh passion"
);
if
(
myVar
.toString().indexOf(
'passion'
) > 0) {
}
else
{
}
The above code helps you to find whether a string contains a particular string or not in JQuery.
Kindest Regards
Sibeesh
http://sibeeshpassion.com/
JQuery Index Of