Collation.SubstringBefore MethodCollation.SubstringBefore MethodCollation::SubstringBefore Method
Returns the substring of a stringStringString that precedes the first occurrence of the the specified
substring.
Parameters
- value
- substring
Return Value
Type: System.StringSystem.StringSystem::String^
The substring of value that precedes the first occurrence of a sequence of collation units that provides a match to the collation units of substring.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
value or substring is null
a null reference (Nothing in Visual Basic)
nullptr .
|
Remarks
This method is called by the fn:substring-before
function.