Collation.SubstringAfter MethodCollation.SubstringAfter MethodCollation::SubstringAfter Method

Returns the substring of a stringStringString that follows the first occurrence of the specified substring under this collation.

Syntax

Public MustOverride Function SubstringAfter( _
    value As String, _
    substring As String _
) As String
public abstract string SubstringAfter(
    string value,
    string substring
)
public:
virtual String^ SubstringAfter(
    String^ value, 
    String^ substring
) abstract
 

Return Value

Type: System.StringSystem.StringSystem::String^

The substring of value that follows the first occurrence of a sequence of collation units that provides a match to the collation units of substring.

Exceptions

ExceptionCondition
ArgumentNullExceptionArgumentNullExceptionArgumentNullException value or substring is null a null reference (Nothing in Visual Basic) nullptr.

Remarks

This method implements the fn:substring-after function for this collation.