I have a datafield withthis value
name =john, sudha, chella, honey, etc and I need to display like this
john
sudha
chella
honey
etc. by using formula field. How can i do this
I used split function and some array function. but its not working ? Any suggestions please
My code is
Expand|Select|Wrap|Line Numbers
- numbervar number0fcommas := 0;
- //checking for commas
- if (("," in {ExportView.PalletDimension})= true) then
- (
- Global StringVar Array dimension := split({ExportView.PalletDimension},",");
- number0fcommas := ubound(dimension);//it shows array length correctly
- Local NumberVar i ;
- Local StringVar str := "";
- //this for is not working
- //for i := 1 to number0fcommas do
- //(
- //str = str + split({ExportView.PalletDimension},",")[i] + chr(010)// for line break
- //)
- //
- )
- else
- {ExportView.PalletDimension};
thank you