Liste des Groupes | Revenir à col misc |
On Fri, 27 Sep 2024 11:32:05 +0100, Kerr-Mudd, John wrote:Rexx? That is a name I haven't heard in a long time. Do you mean Ben Kenobi?
>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.
>
Les messages affichés proviennent d'usenet.