: (extract format (chop 'ab33Cd))
-> (3 3)
: (format (pack (extract format (chop 'ab33Cd))))
On Thu, Dec 15, 2016 at 4:16 PM, dean <deangwillia...@gmail.com> wrote:
> I've seen num? and chop but think I need something in the middle to turn a
> character to a number.
> Having said that I seem to have got close by accident...i.e. I was going
> to try and bend this...but it found a single integer as it was :)
> : (pick '((Ch) (and (= Ch (uppc Ch)) Ch)) (chop 'ab33Cd))
> -> "3"
> I'd like this to detect 33 but see that chop precludes this.
> Any help much appreciated.