Hello, Andy Wingo <[email protected]> writes:
> Any change to Guile's internal character encoding should not start from
> the premise that string-ref is obsolete or unimportant, especially
> considering that there is no other standard "string pointer" mechanism.
+1
There are idioms like:
(let ((start (string-index s #\,))
(end (string-rindex s #\,)))
(substring s (+ 1 start) end))
which may not have a better equivalent (sometimes ‘string-tokenize’ can
be used, sometimes not.)
Thanks,
Ludo’.
