Search code examples
stringdelphimaskreportbuilder

How to add space between numbers, with DisplayFormat


How can I add spaces between numbers with DisplayFormat.

Like this example:

50130301037855000150550010000000131000000132

I'm need this:

5013 0301 0378 5500 0150 5500 1000 0000 1310 0000 0132

Anyone have an idea? Thanks.


Solution

  • I found the answer using DisplayFormat

    9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999;0; 
    

    Thanks all.