String functions
Function | Usage | |
---|---|---|
Contains | ||
Array | #set($foo=$MyString.split(":")) #foreach($line in $foo) #end
|
O
Macro is Macro (Function/sub)
This is a recursive sample, where a Macro call itself:
#macro ( GetChildren $parent, $curlevel, $maxlevel) #GetChildren ($page, $curlevel, $maxlevel) #end GetChildren ($root, 1, 5)