how to remove ; this text from the list

Hi All,

I am fetching data to the drop down from data base , 

load(

local!dropDownData: rule!getdata.data,

local!value : index( local!dropDownData, "val" , {} )

)

Like this but here local!value data is Appian; Appian 

so if i am keeping this value directly in the choiceLabels its throwing error as its having this ; as in that 

so how can i remove this ?? from the list.

I did something like this

load(
local!data : {"Appian;","Appian;"},
a!forEach(
local!data,
{
if(
find(";",fv!item,len(fv!item)),remove(fv!item,len(fv!item)),null
)
}
)

)

Which gives me output

 

but is this ok to do like this or do i have anything shortcut ? 

  Discussion posts and replies are publicly visible