Hi everyone! I have a line that looks like this:
report: source-a, name-d, time-a
I need to detect whether it's an -a or -d for ascending or descending. So this is my pseudocode:
#$field1 is source-a
if ($field1 contains -a)
then sort ascending
else sort descending
if it's not clear, I can clarify.
Thanks, Porshe
report: source-a, name-d, time-a
I need to detect whether it's an -a or -d for ascending or descending. So this is my pseudocode:
#$field1 is source-a
if ($field1 contains -a)
then sort ascending
else sort descending
if it's not clear, I can clarify.
Thanks, Porshe