Summary
Converts
null to an empty string.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Util - Containing Type
- StringUtils
Syntax
public static string ConvertNullToEmpty(string value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The value to convert. |
Return Value
| Type | Description |
|---|---|
| string |
An empty string if value is null;
otherwise, value.
|
