Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StringUtils.StripFirstAndLastCharacter Method

Strips first and last character off the string.

[Visual Basic]
Public Shared Sub StripFirstAndLastCharacter( _
   ByVal text As String _
)
[C#]
public static string StripFirstAndLastCharacter(
   string text
);

Parameters

text
The string to strip.

Return Value

The stripped string.

See Also

StringUtils Class | Spring.Util Namespace