Top "Indexof" questions

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

replacing spaces in a string with hyphens

I have a string and I need to fix it in order to append it to a query. Say I …

javascript recursion indexof
Getting the object array index in jq

I have a json object that looks like this (prodused by i3-msg -t get_workspaces. [ { "name": "1", "urgent": false }, { "name": "2", "…

arrays json indexof jq
how to make indexof case insensitive in java

I have a simple question. How do I make indexof case insensitive in java. This question has been already answered …

java indexof
How can C#'s string.IndexOf perform so fast, 10 times faster than ordinary for loop find?

I have a very long string (60MB in size) in which I need to find how many pairs of '&…

c# string search indexof
Trouble using indexOf on a complex array

Possible Duplicate: indexOf method in an object array? I have a javascript array which follows this format: var arrayName = [ {id: "…

javascript arrays indexof
Swift: cannot convert value of type to @noescape while call indexOf, after filter using filter function

In Swift 2, I'm receiving an error: Cannot convert value of type '[String:AnyObject]' to expected argument type '@…

arrays swift filter casting indexof
JavaScript indexOf() - how to get specific index

Let's say I have a URL: http://something.com/somethingheretoo and I want to get what's after the 3rd instance …

javascript indexof
Getting a collection of index values using a LINQ query

Is there a better way to do this? string[] s = {"zero", "one", "two", "three", "four", "five"}; var x = s .Select((…

c# .net arrays linq indexof
Is using a Regular Expression faster than IndexOf?

I have an app running which looks at items in a queue, then based upon certain keywords a category is …

c# .net regex performance indexof
Lua - get indexOf string

I am stuck with a problem in Lua to check whether the string value is not presented in another string. …

string lua find indexof