diff options
-rw-r--r-- | lib/ur/string.ur | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ur/string.ur b/lib/ur/string.ur index d760ec2b..da4e7eb4 100644 --- a/lib/ur/string.ur +++ b/lib/ur/string.ur @@ -92,13 +92,13 @@ fun trim s = val len = length s fun findStart i = - if i < len && Char.isSpace (sub s i) then + if i < len && isspace (sub s i) then findStart (i+1) else i fun findFinish i = - if i >= 0 && Char.isSpace (sub s i) then + if i >= 0 && isspace (sub s i) then findFinish (i-1) else i |