diff options
author | dos-reis <gdr@axiomatics.org> | 2010-12-29 03:20:55 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-12-29 03:20:55 +0000 |
commit | 9c532285f28b723a3f70fc4eba19e3856ecbd3dd (patch) | |
tree | 8cab2c9b8ac48fd5b39bfc7a1fd192ede88c4117 /src/interp/ht-util.boot | |
parent | ca4b1b74d8e743f50f0db37f1b33265f46547f01 (diff) | |
download | open-axiom-9c532285f28b723a3f70fc4eba19e3856ecbd3dd.tar.gz |
SUBSTRING cleanup
Diffstat (limited to 'src/interp/ht-util.boot')
-rw-r--r-- | src/interp/ht-util.boot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/ht-util.boot b/src/interp/ht-util.boot index f7b3b6b9..ccb4c3f3 100644 --- a/src/interp/ht-util.boot +++ b/src/interp/ht-util.boot @@ -137,8 +137,8 @@ htpLabelFilteredInputString(htPage, label) == replacePercentByDollar s == fn(s,0,MAXINDEX s) where fn(s,i,n) == i > n => '"" - (m := charPosition(char "%",s,i)) > n => SUBSTRING(s,i,nil) - strconc(SUBSTRING(s,i,m - i),'"$",fn(s,m + 1,n)) + (m := charPosition(char "%",s,i)) > n => subString(s,i) + strconc(subString(s,i,m - i),'"$",fn(s,m + 1,n)) htpSetLabelInputString(htPage, label, val) == -- value user typed as input string on page @@ -403,7 +403,7 @@ templateParts template == null string? template => template i := SEARCH('"%l", template) null i => template - [SUBSEQ(template, 0, i), : SUBSEQ(template, i+2)] + [subSequence(template, 0, i), : subSequence(template, i+2)] htMakeDoneButton(message, func) == bcHt '"\newline\vspace{1}\centerline{" |