How do I extract the name of a template?

i have a script with a custom property that references a template.

If I print(propTemplate), it outputs:

EBD19003D07A9E14:Advanced Assault Rifle

How do I get just the name? If I try I get "nil"

Since I cannot find an alternative in the API, I ended up regex it out with this function (since Lua doesn't have a split command)

function split(s, delimiter)
    result = {};
    for match in (s..delimiter):gmatch("(.-)"..delimiter) do
        table.insert(result, match);
    return result;

Try to give your template a advanced level name by a famous name generator tool called as name combiner for couple. Try it know it is worthy.