How to: Search Strings Using String Methods (C#)
Full Name:
How to: Search Strings Using String Methods (C#)
Short Name:
How to: Search Strings Using String Methods (C#)
Type of Entity:
C#
Abstract:
The string type, which is an alias for the System.String class, provides a number of useful methods for searching the contents of a string. The following example uses the IndexOf, LastIndexOf, StartsWith, and EndsWith methods.
MSDN Source URL:
http://msdn2.microsoft.com/ms228630.aspx