B
Bharat
Guest
I am new to progress 4gl but don't know how to write a logic to get the last value after the last comma and last before value using comma separator. Please help
Expected Results to be assigned (using only separator):
lvc_data1 = "45"
lvc_data2 = "1,14,13"
Continue reading...
Code:
define variable cdata as character no-undo initial "1,14,13,45".
define variable lvc_data1 as character no-undo.
define variable lvc_data2 as character no-undo.
Expected Results to be assigned (using only separator):
lvc_data1 = "45"
lvc_data2 = "1,14,13"
Continue reading...