grosser.it
Ruby: Remove first line from a String
Got a huge string and just want to shift the first line ? Usage a = “xxx\nyyy” first_line = a.remove_first_line! a == “yyy” first_line == “xxx” Code class String…