the right side : String from Right « String « Ruby






the right side

fear = "             F                  "
fear.rstrip! 

 

Related examples in the same category