string Result = string.Empty; string example = "1234#56890"; for (int k = 0; k < example.Length; k++) { if (example[k] == '#') { Result = "Matches"; } }
string MainString = "String Manipulation"; string SearchString = "pul"; int FirstChr = MainString.IndexOf(SearchString); //SHOWS START POSITION OF STRING MessageBox.Show("Found at : " + FirstChr);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)