Strip from Left « String « Ruby






1.Use lstrip, rstrip, and strip (lstrip!, rstrip!, and strip!).
2.Strip from left in place