Search:

Type: Posts; User: danieland

Search: Search took 0.38 seconds.

  1. Replies
    4
    Views
    28

    Re: Java string cut help...

    Hi!
    You can first split the string by '-' character, so you will have "REG20140509" and store into a String variable (let's say date).
    After that you can apply a regexp over this string. Use "\\w"...
  2. Re: please help me find errors on my code,please give me reasons why i keep getting errors

    Hi. You are getting errors because you have a return statement in the constructor.
    If you remove the return it should be ok.
    PS: In future, add a private identifier to your instance variables.
Results 1 to 2 of 2