guerilla.
getprefixesfromname
Return all the prefixes present in a name or nil
For the name “ref:ref2:node”, it returns [“”, “ref:”, “ref:ref2:”].