Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Bounty
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Find a string contains a particular string in JQuery
WhatsApp
Sibeesh Venu
Jan 02
2015
1.9
k
0
0
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
Up Next
Find a string contains a particular string in JQuery