Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <#macro tokenizer content="" lineLength=15 >
- <#list content?word_list as word>
- <#assign newLen=(counter!0) + (word?length)/>
- <#if newLen gt lineLength >
- <br/><#assign counter=word?length/>
- <#else>
- <#assign counter=newLen/>
- </#if>
- ${word}
- </#list>
- </#macro>
- <#assign content>string to print in many lines</#assign>
- <@tokenizer content 15 />
Add Comment
Please, Sign In to add comment