Formating string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bernard Koninckx

    Formating string

    Hello verybody,

    Here is a simple newbie question.
    How can I do format a string with the next format:
    X-XXXX-XXXX-X
    where X is an alphanumeric , - is the separator ?

    Thanks all

    P.S.: And if I would like formatting X series under numeric form, what's
    become expression ?


  • hiwa

    #2
    Re: Formating string

    "Bernard Koninckx" <koninckxbernar [email protected]> wrote in message news:<40165ef9$ 0$7030$ba620e4c @news.skynet.be >...[color=blue]
    > Hello verybody,
    >
    > Here is a simple newbie question.
    > How can I do format a string with the next format:
    > X-XXXX-XXXX-X
    > where X is an alphanumeric , - is the separator ?
    >
    > Thanks all
    >
    > P.S.: And if I would like formatting X series under numeric form, what's
    > become expression ?[/color]
    java.text.Forma t and its derivatives might help.

    Comment

    Working...