bannerd

HTML - Used in other macros to detect if a parameter is not zero

General

Spaces Where Usedall SWEHB spaces
How usedin other macros to detect if a parameter is not zero
Visibilityonly Sys Admins  in the Macro Browser
Titleifnotzero
Description
Categories
Icon URL
Documentation URL
Definition Rendered
Output Format
StatusActive in all spaces

Used in the "refstable" collection of macros. 

Rendering

None. 


Current Code 

#set($xhtml=$body) #if($xhtml.startsWith("<p>",0) && $xhtml.endsWith("</p>"))
#set($len=$xhtml.length()-$generalUtil.convertToInteger(4))
#set($xhtml=$xhtml.substring(3,$len)) #end #if($param0 != "0") ${xhtml} #end


  • No labels