"isEmpty" (string::isEmpty)
Returns true if the string is empty.
Synopsis
bool string.isEmpty();
Parameters
| Parameter | Description |
|---|---|
| - | - |
Details
Returns true if the string has no characters, otherwise false.
Example
main()
{
string empty = "";
string text = "CTRL";
DebugN(empty.isEmpty() ? "TRUE" : "FALSE");
DebugN(text.isEmpty() ? "TRUE" : "FALSE");
}
Console output:
WCCOAui1:["TRUE"]
WCCOAui1:["FALSE"]
