Hi,
I have a script that retrieves the content of another document. I want to split this content with “;”. I was looking for the possibility to use “split”, but nowhere in the documentation I see such a possibility
{{velocity}}
#set ($newDoc = $xwiki.getDocument('MyDoc1.WebHome'))
#set doc1 = $newDoc.getContent()
#set($myList = [])
**here I want split my doc1 and add extracted content to the myList**
$myList
{{/velocity}}