Deutsch English Français Italiano |
<llnst4FmmqaU19@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager <news0009@eager.cx> Newsgroups: comp.os.linux.misc,alt.folklore.computers Subject: Re: The joy of FORTRAN Date: 27 Sep 2024 14:13:56 GMT Lines: 35 Message-ID: <llnst4FmmqaU19@mid.individual.net> References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks> <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> <vcub5c$36h63$1@dont-email.me> <36KdnVlGJu9VLW77nZ2dnZfqn_qdnZ2d@earthlink.com> <IfZIO.214180$FzW1.122138@fx14.iad> <ZLecncKpCfSfT2n7nZ2dnZfqnPudnZ2d@earthlink.com> <ZOfJO.194439$kxD8.179224@fx11.iad> <vd4hgd$c3jf$8@dont-email.me> <20240927113205.b0ccfb4910eb89f27f138cbb@127.0.0.1> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net VitLYsM4mD7vY0wN6H59ug0j1vcgWitR6y5L6gHNmvIhLiHgCH Cancel-Lock: sha1:SV0DkYG0Ea20NAaJRtiLTS2u6oE= sha256:8XA+kpKoyk4NqHWDhyguXIif6qXHLo/1IUDP3rRY3sU= User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Bytes: 2071 On Fri, 27 Sep 2024 11:32:05 +0100, Kerr-Mudd, John wrote: > On Thu, 26 Sep 2024 20:51:25 -0000 (UTC) Lawrence D'Oliveiro > <ldo@nz.invalid> wrote: > >> On Thu, 26 Sep 2024 16:18:01 GMT, Charlie Gibbs wrote: >> >> > One of the favourite functions in my library pulls the next token >> > from a delimited string, but as opposed to strtok() it does it >> > non-destructively and can handle empty strings. >> >> Use a high-level language which has all this and more: >> >> for item in "the,quick,brown,fox".split(",") : >> print(item) >> #end for >> >> Output: >> >> the quick brown fox >> >> In Python, strings are objects, and that applies to string expressions >> (including string literals) as well. > > You need Rexx Hear, hear. Still use it. -- Using UNIX since v6 (1975)... Use the BIG mirror service in the UK: http://www.mirrorservice.org