Check the length of the string to determine if it is an empty string.
Parameters
String |
Check if this string is empty. |
Format
String_Empty (String)
Return Value
Returns Boolean. TRUE if the string is 0 characters in length, FALSE otherwise.
Example
Script(String_Empty_Test)
String(strEntered)
Boolean(bEmpty)
Activate(From_Menu)
strEntered = Ask_String("Type a string", "String_Empty_Test", 0, 0, "")
bEmpty = String_Empty(strEntered)
If(bEmpty)
Message("String is empty.", 5)
Else
Message("String is not empty.", 5)
End_If
Return
See Also
String_Less_Than, String_Less_Than_Or_Equal, String_Equal, String_Greater_Than_Or_Equal, String_Greater_Than, String_Not_Equal, String_Set, Number_To_String_Decimal, Ask_String, Get_Screen_Text, Speech_To_Text, Get_Scan_Type_Name
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other