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.1.5347.20411)
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:![Online Online](./../icons/online_icon.gif)
Exceptions
Exception | Condition |
---|---|
![]() | Thrown when str is null. |
See Also