Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. arcticpuppy

    Trimming Tabs from data fields

    I currently use this function to trim spaces from a string function trim(str){ nsub1=sub("^[ ]*", "", str) nsub2=sub("[ ]*$", "", str) return str } I tried to use nsub1=sub("^[ ]*", "\t", str) nsub3=sub("[...
  2. arcticpuppy

    I currently use this function to tr

    I currently use this function to trim spaces from a string function trim(str){ nsub1=sub("^[ ]*", "", str) nsub2=sub("[ ]*$", "", str) return str } I tried to use nsub1=sub("^[ ]*", "\t", str) nsub3=sub("[ ]*$&quot...
  3. arcticpuppy

    removing padding spaces from a DB

    I am reading a database that has triling blanks in the data so when I do a length($0) and use this to define the substr($0,4,length($0)- 4) I want to use. The data contains text and thus removing spaces from the end using a gsub may be tricky This shows up bigtime when I try to append two...
  4. arcticpuppy

    Converting HTML special characters to ASCII

    I am parsing a html file that has special characters for &, !, etc and I would like to convert these automatically for ascii output(tab delimeted file) any hints ?

Part and Inventory Search

Back
Top