Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5159/src/modules/plain
Modified Files:
str.mx
Log Message:
propagated changes of Tuesday Dec 18 2007
from the MonetDB_4-20 branch to the development trunk
Index: str.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/modules/plain/str.mx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- str.mx 18 Dec 2007 10:45:15 -0000 1.5
+++ str.mx 18 Dec 2007 20:56:44 -0000 1.6
@@ -207,7 +207,7 @@
return length(rtrim(s));
}
proc insert( str s, int start, int l, str s2 ) : str {
- return substring(s,start,l) + s2 + substring(s,start+l);
+ return substring(s,0,start) + s2 + string(s,start+l);
}
proc replace( str s1, str s2, str s3 ) : str {
return substitute(s1,s2,s3, true);
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins