CA Service Management

 View Only

 How to concat values using SPELL code

Ana Katherine Blanco's profile image
Ana Katherine Blanco posted Nov 19, 2021 11:51 AM
Hello :)
I need to do an spell function which can concatenate several values and characters..

For example:}

isscat::concatValues(...)
{
field1= field2 + field3 + field4
}

How can I do that?
thanks.
AKBS
Lindsay Estabrooks's profile image
Lindsay Estabrooks
Are all the fields declared as string fields? If not, I think you have to cast them as string. for example, let's say that field3 is an integer but all the rest are string fields:

field1 = field2 + (string)field3 + field4;