Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Java Question

Options
  • 02-12-2008 11:45am
    #1
    Registered Users Posts: 342 ✭✭


    I'm making an encryption program atm,it keeps printing out a '$' for a space,I'm wondering is there anyway to type a space..eg with tab you can type '\t'


Comments

  • Registered Users Posts: 610 ✭✭✭nialo


    \u00A0 or \s i think. \u00A0 is the unicode for a whitespace. \s i think mite be only used in pattern expression. not sure thou.


  • Registered Users Posts: 342 ✭✭thomasjad


    yeah it is \u00A00...thanks for the help :)


Advertisement