Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Java Question

  • 02-12-2008 11:45AM
    #1
    Registered Users, Registered Users 2 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, Registered Users 2 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, Registered Users 2 Posts: 342 ✭✭thomasjad


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


Advertisement
Advertisement