Top "Indexof" questions

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

MySQL Second (or third) Index Of in String

What would be the simplest way to locate the index of the third space in a string. My goal is …

mysql indexof
LINQ indexOf a particular entry

I have an MVC3 C#.Net web app. I have the below string array. public static string[] HeaderNamesWbs = new[] { WBS_…

c# linq indexof
MySQL String Last Index Of

I am able to use LOCATE to get the index of a character such as a . in www.google.com. …

mysql string indexof
c# Array.FindAllIndexOf which FindAll IndexOf

I know c# has Array.FindAll and Array.IndexOf. Is there a Array.FindAllIndexOf which returns int[]?

c# arrays indexof
Search for all instances of a string inside a string

Hello I am using indexOf method to search if a string is present inside another string. But I want to …

javascript search indexof
window.location.indexOf not working in Javascript

Below is what I have. var myString = "http://localhost:8888/www.smart-kw.com/"; alert(myString.indexOf("localhost")); This give me alert... …

javascript string alert indexof
Remove domain information from login id in C#

I would like to remove the domain/computer information from a login id in C#. So, I would like to …

c# string indexof
Javascript .indexOf not working on an int array

Code: function showlayer(name){ var size = js_array.length var index = js_array.indexOf(name); var plusOne = js_array[index+1]; …

javascript indexof
Why is indexOf not working in Internet Explorer?

This function executes during the forms onSubmit, and works fine in Firefox and Chrome, but not in IE. I suspect …

javascript internet-explorer indexof
Better way to find index of item from ArrayList<CustomObject>

First of all, please correct me If I am wrong. I want to find index of Item (i.e String …

java search arraylist indexof