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

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,224 ✭✭✭✭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

    In its pure form, fascism is the sum total of all irrational reactions of the average human character.

    ― Wilhelm Reich



This discussion has been closed.
Advertisement
Advertisement