Added SIOD compatability routines string-downcase and string-upcase.

This commit is contained in:
Kevin Cozens 2010-06-21 22:54:46 -04:00
parent f0e90007f7
commit 75941beaca
1 changed files with 10 additions and 2 deletions

View File

@ -182,8 +182,8 @@
)
)
(define (substring-equal? str str2 start end)
(string=? str (substring str2 start end))
(define (string-downcase str)
(list->string (map char-downcase (string->list str)))
)
(define (string-trim str)
@ -219,6 +219,14 @@
)
)
(define (string-upcase str)
(list->string (map char-upcase (string->list str)))
)
(define (substring-equal? str str2 start end)
(string=? str (substring str2 start end))
)
(define (unbreakupstr stringlist sep)
(let ((str (car stringlist)))