Parsing arrays in trigger functions

i have a trigger function which creates a row based on the auth user meta data and one of the properties is an array but in the function is a string, how do i parse it into an array?
Was this page helpful?