adding spaces to every 3rd character in a string
Posted: Fri Nov 22, 2002 3:41 pm
I am trying to take a specific string $string=xfm3muedf7uy; and I am trying to find a way to add spaces after every 3 characters $string=xfm 3mu edf 7uy; What is the best way to do this? Thanks. 