Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

ifNotEmpty

ifThen -value1 %s -value2 -test NOTEQUAL -then ${then} -else ${else} -redirect ${redirect=false}
NAME 

ifNotEmpty -- tests if a string is not empty

DESCRIPTION

ifNotEmpty [string] [-then action if not empty] [-else action if emtpy]

Usage:

ifNotEmpty test -then yes -else no
Returns: yes

ifNotEmpty -then yes -else no
Returns: no

NOTE:
This was created as a shortcut for creating other YubNub commands using 
this method: http://yubnub.blogspot.com/2005/08/first-command-to-use-ifthen-command.html


AUTHOR
chicagosage -- using Allen Ormond's ifThen command and
inspired by the "ifEmpty" command

b.a.

    
12586 uses - Created 2006-02-13 16:06:16 - Last used 2016-03-31 08:17:27
Is this command broken? Tell Jon if you know how to fix it.
Do you find this command offensive? Let Jon know.