Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Computing

  • 13-10-2011 08:07PM
    #1
    Closed Accounts Posts: 3


    Hi does anyone know how to Write a Ruby program replace.rb that will read in a string and replace
    each space by an asterisk (\*").


Comments

  • Registered Users, Registered Users 2 Posts: 13,192 ✭✭✭✭bnt


    SRSLY? One minute on Google and I found this - and I've never touched Ruby before. :p

    You could try asking in the Development Forum, but I expect they'll say they're not there to do your assignments for you ... :o

    You are the type of what the age is searching for, and what it is afraid it has found. I am so glad that you have never done anything, never carved a statue, or painted a picture, or produced anything outside of yourself! Life has been your art. You have set yourself to music. Your days are your sonnets.

    ―Oscar Wilde predicting Social Media, in The Picture of Dorian Gray



This discussion has been closed.
Advertisement