Returns the index of the specified item in the collection or -1 if the item does not exist.
.NET Syntax
virtual int IndexOf(string value);
|
Java Syntax
virtual int IndexOf(String value);
|
PHP Syntax
virtual int IndexOf(string value);
|
- Parameters:
-
| value | (String/string) Input value |
- Returns:
- Returns the index of the specified item in the collection or -1 if the item does not exist.