Search:

Type: Posts; User: copeg

Search: Search took 0.22 seconds.

  1. Replies
    7
    Views
    1,071

    Re: Need help to format input.

    You're welcome
  2. Replies
    7
    Views
    1,071

    Re: Need help to format input.

    The API is worth studying for all classes that you use. See String (Java Platform SE 6) and the substring method.



    Write it out slowly on paper - loop through the string one character at a...
  3. Replies
    7
    Views
    1,071

    Re: Need help to format input.

    What did you try? Presuming you want a dash after the third and fifth number - did you try a loop? Have you tried breaking the input string into substrings?
  4. Replies
    7
    Views
    1,071

    Re: Need help to format input.

    Append of what? A string? What is ja? I don't understand the rules you describe. I recommend breaking what you need into these rules, its easier for us and a computer to understand.
Results 1 to 4 of 4