I am trying to split a string, and output the different parts, whats the best practice for rails 3 ?
String: "book_page_title" Seperator: "_"
I want to have book, page and title as seperate variables, so that I can perform actions on them..
Any help is appreciated. Also, I am having trouble finding good reference sites, with examples like PHP have, and suggestions ?