Sujet : Re: The joy of FORTRAN
De : news0009 (at) *nospam* eager.cx (Bob Eager)
Groupes : comp.os.linux.misc alt.folklore.computersDate : 27. Sep 2024, 15:15:20
Autres entêtes
Message-ID : <llnsvoFmmqaU20@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)
On Fri, 27 Sep 2024 12:10:37 +0100, The Natural Philosopher wrote:
On 27/09/2024 11:32, 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
NOBODY needs REGEX!
Eyesight failing again?
-- Using UNIX since v6 (1975)...Use the BIG mirror service in the UK: http://www.mirrorservice.org