Sitecore 5.0 API

StringUtil.GetLastPart Method 

Gets the last part.

[Visual Basic]
Public Shared Function GetLastPart( _
   ByVal text As String, _
   ByVal delimiter As Char, _
   ByVal defaultValue As String _
) As String
[C#]
public static string GetLastPart(
   string text,
   char delimiter,
   string defaultValue
);

Parameters

text
Text.
delimiter
Delimiter.
defaultValue
Default value.

See Also

StringUtil Class | Sitecore Namespace