Link to home
Start Free TrialLog in
Avatar of piratepatrol
piratepatrolFlag for United States of America

asked on

InStr Function

Hi folks,

I know this will make me sound like a real rookie, but can someone remind me what the JavaScript equivalent of the InStr function in ASP, a function that will indicated whether a character or string pattern appears in the string passed to the function?  Thanks, everyone.


Jazon from FL
ASKER CERTIFIED SOLUTION
Avatar of bebonham
bebonham

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MCM
MCM

strObj.indexOf(subString[, startIndex])
There has been no activity in this question in quite some time, and it looks like it has been abandoned. As part of our ongoing mission to clean up the topic areas, a Moderator will finalize this question within the next seven (7) days. At that time, either I or one of the other Moderators will force/accept the comment of bebonham.

DO NOT ACCEPT THIS COMMENT AS AN ANSWER. If you have further comments on this question or the recommendation, please leave them here.

piratepatrol,

Some of these questions have been open for some time, and records indicate you logged in as recently as a today. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20260974 (new)
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20258569 (new)
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cplusprog&qid=20174572
https://www.experts-exchange.com/jsp/qShow.jsp?ta=javascript&qid=20168259
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20159537
https://www.experts-exchange.com/jsp/qShow.jsp?ta=asp&qid=20232167

Thanks,

Netminder
Community Support Moderator
Experts Exchange
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange