Ruby/String/Strip from Left
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
Strip from left in place
fear = " F " fear.lstrip!
Use lstrip, rstrip, and strip (lstrip!, rstrip!, and strip!).
fear = " F " puts fear.lstrip