Convert a record from a list into text

How Can I change "45 - Cars (Group)" in a text.
Thankss

with(
local!user:
a!forEach(
items: getgroupsformemberuser(loggedInUser()),
expression: if(upper(group(fv!item,"groupName")) = "cars",
fv!item,
{}
)
),
if(length(local!user)=1,local!user[1],local!user[1])
)

  Discussion posts and replies are publicly visible