🏷 ruby


Ruby

6 min read
BasicsPlaying with strings > "Jimmy".reverse => ymmiJ > "Jimmy".length => 5 > "Jimmy" * 5 => "JimmyJimmyJimmyJimmyJimmy" > 40.to_s.reverse => "04" Useful functionsstrings: to_sintegers: to_iarrays: to_aArrays > [12, 45, 12].m…▷ read more