Skip to Content
0
Former Member
Oct 14, 2009 at 08:46 PM

Formatting a string with Display String

16 Views

I have a field in my database that is a string with numbers in it and I need it formatted like so: "xx-xx-xx-xxx" nine characters long.

For example: 92438014

I need it to look like: 09-24-38-014

and

141234892

14-12-34-892 etc..

can anyone help me with some code that will do this for me? I'm not the best at crystal custom formatting.

thank you

Edited by: MarcieHennessy on Oct 14, 2009 10:47 PM