Determines whether the beginning of this string instance matches the specified string when compared using the specified comparison option. This method is culture safe - it fixes some problems with different cultures.
Namespace: CMS.BaseAssembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- value
- Type: System String
String object
- str
- Type: System String
The string to compare
- ignoreCase
- Type: System Boolean
If true comparison is case insensitive
Return Value
Type: BooleanExceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown when str is null. |
See Also