Update of /cvsroot/monetdb/MonetDB5/src/modules/atoms
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13193/src/modules/atoms
Modified Files:
str.mx
Log Message:
implemented a new property scheme
Index: str.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/atoms/str.mx,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- str.mx 3 Dec 2007 08:31:07 -0000 1.69
+++ str.mx 9 Dec 2007 16:21:09 -0000 1.70
@@ -79,15 +79,19 @@
command +( l:str, r:str) :str
address STRConcat
comment "Concatenate two strings.";
+
command length( s:str ) :int
address STRLength
comment "Return the length of a string.";
+
command stringlength( s:str ) :int
address STRstringLength
comment "Return the length of a right trimed string (SQL semantics).";
+
command nbytes( s:str ) :int
address STRBytes
comment "Return the string length in bytes.";
+
command chrAt( s:str, index:int) :chr
address STRChrAt
comment "String array lookup operation.";
@@ -191,6 +195,7 @@
command locate(s1:str,s2:str):int
address STRlocate
comment "Locate the start position of a string";
+
command locate(s1:str,s2:str,start:int)
address STRlocate2
comment "Locate the start position of a string";
@@ -198,12 +203,14 @@
command insert(s:str,start:int,l:int,s2:str):str
address STRinsert
comment "Insert a string into another";
+
command replace(s:str,pat:str,s2:str):str
address STRreplace
comment "Insert a string into another";
command repeat(s2:str,c:int):str
address STRrepeat;
+
command space(l:int):str
address STRspace;
-------------------------------------------------------------------------
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://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins