Subject: strings, characters and positions... ¿? From: Reyes <reyes.garcia@xxxxxxxxxx> Date: Sat, 23 Oct 1999 14:06:19 +0200 |
Hello, I have make a procedure that returns the last position of a character in a string. When this character isn't in the string returns -1. (define (string-reverse-find str chr) (let loop ((pos (- (string-length str) 1))) (if (>= pos 0) (let ((c (string-ref str pos))) (if (char=? chr c) pos (loop (- pos 1)) ) ) -1))) But, is there a funtion like this in Jade? Thanks, Reyes DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Descendants problems, Reyes | Thread | AW: CALS Table to HTML Table via Th, Roland Schopf |
Re: Descendants problems, Brandon Ibach | Date | Re: Descendants problems, Reyes |
Month |