Thanks all.
Pablo
"Stefan Schmiedl" <
[hidden email]> wrote in message
news:a9j1t8$3mfd3$
[hidden email]...
> On Tue, 16 Apr 2002 23:06:45 -0400,
> Ron Jeffries <
[hidden email]> wrote:
> > On Tue, 16 Apr 2002 21:26:27 -0300, "new.de.cis.dfn"
<
[hidden email]>
> > wrote:
> >
> >>Hi all, How can i convert a number in a String with a specified format.
> >>For example I need to convert the number 1234 in a string '000001234'.
> >
> > How about converting the number to a string, then prepend a suitable
number of
> > '0', e.g. in this case 5, = 9-4 = 9 - convertedString size ?
>
> and if you don't want to roll your own, you can go for
> String>>formatWith: or String>>sprintfWith: which are
> based on crt functions.
>
> s.