//Split @anotherAttribute based on ‘_’
string myString[] = split(s@anotherAttribute, “_”);

//Use last element as attribute value
s@tempString = myString[-1];
//convert string to integer
i@myIntegerFromString = atoi(s@tempString);

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *