Re: The joy of FORTRAN

Liste des GroupesRevenir à col misc 
Sujet : Re: The joy of FORTRAN
De : admin (at) *nospam* 127.0.0.1 (Kerr-Mudd, John)
Groupes : comp.os.linux.misc alt.folklore.computers
Date : 27. Sep 2024, 11:32:05
Autres entêtes
Organisation : Dis
Message-ID : <20240927113205.b0ccfb4910eb89f27f138cbb@127.0.0.1>
References : 1 2 3 4 5 6 7 8
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
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

--
Bah, and indeed Humbug.

Date Sujet#  Auteur
5 Jul 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal