//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);
//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);
I use opdigits()
That works too 🙂
Needed this! Couldn’t find it in my old archive.