Hello,

Anyone got an idea of how to compress a string of digits (0-9) ?

Let's say the string is:
"897459473597349857893475897234895798347598734985798347589734897589347985793487598734985798347589734 8
9578347598798347534975983479857947578974984735983749857983475987349857983475987349579384759837498573
9487598734975983475987349857934758973495793475783459873498579384759873497598734953497593475973459709
740243522332432432438208394234020394908324"

I know I can take every 2 digits and convert them into a char using the CHR function. In some cases I can convert even 3 digits into a char (in case the 3 digits gives me a number between 100-255).

This technique compresses the string into a half of it. (at least).

Does anyone have a better compression technique or algorithm for compressing such string?

Thank you very much.