Top "Indexof" questions

indexof is a method in programming languages like Java, C#, JavaScript, etc.

Uncaught TypeError: Undefined is not a function on indexOf

I currently have this code to check the website URL GET options for a specific ID, but whenever this code …

javascript get typeerror indexof location-href
c# substring indexof

i have a string which looks like this - "FirstName||Sam LastName||Jones Address||123 Main ST ..." (100 more different values) I …

c# substring indexof
How can I correctly check if a string does NOT contain a specific word?

I am currently trying to figure out how to solve the above named problem. Specifically I want to check if …

javascript string if-statement indexof contain
Java negative indexOf (counting from the end [length()] )

Is there any way in Java to found indexOf of a char starting from the end and having length() as …

java string reverse indexof
indexOf is not a function in Firefox, Opera but works in IE, indexOf alternative in javascript to test string contains?

Getting an error using indexOf call in Javascript on Firefox and Opera. Works fine in IE. Following is the error …

javascript jquery string testing indexof
IE: indexOf results in "object doesn't support this property or method"

I have the following if statement: if (buyArray.indexOf(dealWith,0) != -1){ Which is breaking in ie (ie 8 on XP) with "…

javascript jquery internet-explorer indexof
Why does IndexOf return -1?

I am learning Javascript and don't understand why the indexOf below returns -1: var string = "The quick brown fox jumps …

javascript indexof
Is there an indexOf in javascript to search an array with custom compare function

I need the index of the first value in the array, that matches a custom compare function. The very nice …

javascript underscore.js indexof
Javascript indexOf method with multiple values

I have an array wich contains multiple same values ["test234", "test9495", "test234", "test93992", "test234"] Here I want to get the …

javascript arrays indexof