Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!ucbvax!ucsfcgl!seibel From: seibel@cgl.ucsf.edu (George Seibel) Newsgroups: comp.lang.fortran Subject: Re: string manipulation routines for fortran? Message-ID: <14754@cgl.ucsf.EDU> Date: 25 Jul 90 10:50:31 GMT References: Sender: root@cgl.ucsf.edu Reply-To: seibel@cgl.ucsf.edu (George Seibel) Organization: Computer Graphics Lab, UCSF Lines: 19 In article davis@pacific.mps.ohio-state.edu (John E. Davis) writes: > I am looking for a set of basic string manipulation routines for fortran. >These routines should be portable. Is there a public domain package available? What exactly are you looking for here, the pre-fortran 77 "use integers for strings" kind of thing, or something that does fancy manipulations with fortran 77 character data types? I've done a lot of string manipulations in fortran 77, adding nothing more to the standard character intrinsics and operators than a couple of simple routines to change case and find the last nonblank character in the string. If you have an application that still uses Hollerith data and you need to do portable string manipulation, you can do an internal write to a character variable, manipulate to your heart's content, then use an internal read to get it back to Hollerith form. If it's a new application, use the character data type. George Seibel, UCSF seibel@cgl.ucsf.edu