NAnt SDK Documentation - v0.92

ArgumentUtils.FixTrailingBackslash Method 

Fixes the trailing backslash. This function replaces the trailing double backslashes with only one backslash. It also, removes the single trailing backslash.

[Visual Basic]
Public Shared Function FixTrailingBackslash( _
   ByVal value As String _
) As String
[C#]
public static string FixTrailingBackslash(
   string value
);

Parameters

value
The input string.

Return Value

The result string after being processed.

See Also

ArgumentUtils Class | NAnt.VisualCpp.Util Namespace