NAnt SDK Documentation - v0.92 |
|
StringUtils.ConvertNullToEmpty Method
Converts a null reference
(Nothing in Visual Basic) to an empty string.
[Visual Basic]
Public Shared Function ConvertNullToEmpty( _
ByVal
value As
String _
) As
String
[C#]
public static
string ConvertNullToEmpty(
string value);
Parameters
-
value
- The value to convert.
Return Value
An empty string if value is a null reference
(Nothing in Visual Basic); otherwise, value.
See Also
StringUtils Class | NAnt.Core.Util Namespace