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 IamaSherpa 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. dpedro

    substr() strange behaviour

    in short input was: <phone artificial="false" id="1177" platform="3" producer="9" wap="true"> <name>Asus M530w</name> <identifier>M530w</identifier> <info>Asus M530w</info> <ua>Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 6.12) ASUSM530w/1.0</ua> </phone> I was trying to...
  2. dpedro

    substr() strange behaviour

    Hi there. Does anyone have explanation to following awk behaviour? Fragment of my code: print( "value root: " $0); print("substr: " substr($0 ,3)); awk prints: value root: ="1177" platform="3" producer="9" wap="true" substr: false" id="1177" platform="3" producer="9" OS is Linux Fedora Core...

Part and Inventory Search

Back
Top