Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfcmpnum()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfCmpNum()
Compress a string containing numbers
------------------------------------------------------------------------------
Syntax:

     dfCmpNum( <cSource> ) --> cTarget

Parameters:

     <cSource>  Source string.

Returns:

     cTarget Compressed string.

Description:

     Compress a string that contains numeric characters, returning a string
     whose lenght is half the lenght of the source string.

Example:

     ? dfCmpNum( "123456" ) // returns ".w+"

See also:

     dfChrInc()

See Also: dfChrInc()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson