Template:Both: Difference between revisions
From Vigyanwiki
Template>Kotniski No edit summary |
Template>Kotniski No edit summary |
||
Line 2: | Line 2: | ||
Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition). | Produces '''1''' (equivalent to a true condition) if both ''string1'' and ''string2'' are non-empty; otherwise produces the empty string (false condition). | ||
See also: [[Template:Allof]] | |||
[[Category:Boolean, register, and condition testing templates]]</noinclude> | [[Category:Boolean, register, and condition testing templates]]</noinclude> |
Revision as of 16:30, 2 November 2007
Usage: {{both|string1|string2}}
Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).
See also: Template:Allof