Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6892

issue with stripping tabs

Newsgroups comp.lang.ruby
Date 2013-11-23 01:07 -0800
Message-ID <5d694d88-a4cb-4129-a4c5-b9de5f9dd4bb@googlegroups.com> (permalink)
Subject issue with stripping tabs
From helmut_blass@web.de

Show all headers | View raw


without success I try to strip leading and trailing tabs:
I tried:
str.gsub(/\s+/, "")
str.gsub(/\t/, "")
str.strip.gsub(/\t/, "")

none of them works.

any suggestions?
thanx, Helmut

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

issue with stripping tabs helmut_blass@web.de - 2013-11-23 01:07 -0800
  Re: issue with stripping tabs Robert Klemme <shortcutter@googlemail.com> - 2013-11-23 13:22 +0100

csiph-web