From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f1d797a60a92e799 X-Google-Attributes: gidf678f,public From: Nikola Milutinovic Subject: Re: Awk Date: 1998/11/20 Message-ID: <3655B28E.840F9B7@EUnet.yu>#1/1 X-Deja-AN: 413963897 Content-Transfer-Encoding: 7bit References: <733tj8$meo$1@hdxf08.telecom.ptt.nl> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@EUnet.yu X-Trace: SOLAIR2.EUnet.yu 911587877 17255 194.247.199.22 (20 Nov 1998 18:51:17 GMT) Organization: Me organized? Not here! Mime-Version: 1.0 NNTP-Posting-Date: 20 Nov 1998 18:51:17 GMT Newsgroups: comp.unix.osf.misc GJH wrote: > > I am looking for a awk statement that can read a number of characters from a > string. Does anyone has any clue how to accomplish this ? > > for example a string : 'thisisastring' where I want the first four > characters : this. man awk - see function substr substr ("thisisastring", 1, 4) Nix.