I am using CR XI
I have data in a memo field
Group A:aaa,bbb,ccc;
Group B:xxx,yyy,zzz;
The data is always of format GroupX:,; ie starts with a : sperated by a , and ends with a ;
There maybe one or many pieces of data separated by a ,
I have a formula :
extractstring({table.field},"Group A:",";")
The above works at the Group level but what If I now want to go further and extract all positions in the data from one of the group rows
eg GroupB:123,289,uwu,628l,iii890dew;
I want to create several formula
eg GroupB1 would return data 123
GroupB2 would return data 289
etc
and say I wanted to extract the 2nd piece 289, how would I do that and if a 2nd piece of data did not exist would it return null?
I have data in a memo field
Group A:aaa,bbb,ccc;
Group B:xxx,yyy,zzz;
The data is always of format GroupX:,; ie starts with a : sperated by a , and ends with a ;
There maybe one or many pieces of data separated by a ,
I have a formula :
extractstring({table.field},"Group A:",";")
The above works at the Group level but what If I now want to go further and extract all positions in the data from one of the group rows
eg GroupB:123,289,uwu,628l,iii890dew;
I want to create several formula
eg GroupB1 would return data 123
GroupB2 would return data 289
etc
and say I wanted to extract the 2nd piece 289, how would I do that and if a 2nd piece of data did not exist would it return null?