|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Looking for help finding a C# function.
I'm looking for a function simalar to the VB function InStr(). Could somebody help?
Thanks inadvance. BTW: The function is to find a specific character is a string. Last edited by Paul Belanger : July 2nd, 2003 at 11:13 AM. |
|
#2
|
|||
|
|||
|
string myString = "Happy";
int myIndex; // Get the index of the first occurence of 'p'. myIndex = myString.IndexOf('p'); |
|
#3
|
|||
|
|||
|
Thanks...
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Looking for help finding a C# function. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|