Sujet : Re: ( Substring function in Python, Lisp) -- [Hijack] contains [hijk]
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.lispDate : 16. Feb 2025, 00:56:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vor9jr$8h6n$1@dont-email.me>
References : 1
User-Agent : Pan/0.161 (Chasiv Yar; )
On Sat, 15 Feb 2025 21:36:20 +0000, HenHanna wrote:
Does it come standard in some library (package) in Python or
(Gauche)Scheme?
In Python, strings are just sequences of Unicode code points. You can use
slice notation on them, as you can with any other sequence type.