Write a substring function in Ruby

Got What it Takes? Test Drive Your Solution in Ruby

Your code goes here...

Compile and Run

...output appears here!