JamesBowen
19+ years progress programming and still learning.
Hi Guys,
This might sound odd question but what is the most efficient algorithm for reversing a character string in the ABL of any string length?
Backstory:
I was working function and I need to reverse the order of the string value (example: a2c-4e6-g8H to become H8g-6e4-c2a) and this is not something normally do. But, it got me thinking as to what is the most efficient way of doing this in the ABL.
I know that .NET has a method of reversing string arrays, but I was thinking of a more pure ABL approach.
This might sound odd question but what is the most efficient algorithm for reversing a character string in the ABL of any string length?
Backstory:
I was working function and I need to reverse the order of the string value (example: a2c-4e6-g8H to become H8g-6e4-c2a) and this is not something normally do. But, it got me thinking as to what is the most efficient way of doing this in the ABL.
I know that .NET has a method of reversing string arrays, but I was thinking of a more pure ABL approach.