Path: utzoo!attcan!uunet!samsung!dali.cs.montana.edu!masscomp!andyo From: andyo@glasperl.masscomp (Andy Oram) Newsgroups: comp.lang.fortran Subject: Re: String manipulation. Message-ID: Date: 25 Oct 90 14:26:13 GMT References: Sender: news@masscomp.ccur.com Distribution: comp Organization: Concurrent Computer Corporation - Westford, Ma Lines: 26 In-reply-to: quan@sol.surv.utas.oz's message of 23 Oct 90 23:53:35 GMT E-mail to Stephen Quan bounced, so I'm posting my two cents. > character*128 str1 > character str2(128) > equivalence (str1,str2) The EQUIVALENCE should work fine. But before you code up a storm -- did you check out standard FORTRAN facilities? Character substrings, character manipulation (LEN, INDEX, and other intrinsic functions), and internal files (that is, reads and writes using character strings). If you haven't, you might be surprised how much you can do with them. ------------------------------------------------------------------------------- Andrew Oram Concurrent Computer Corporation (I don't represent Concurrent; this message represents my own opinion) Digital Communications Route: andyo@westford.ccur.com {harvard,uunet,petsd}!masscomp!andyo Analog Communications Route: (508) 392-2865 Automatic UN*X documentation utility: cref | compress | crypt | man -------------------------------------------------------------------------------