📄 batstr.mal
字号:
#line 31 "/export/scratch0/monet/monet.GNU.64.64.d.14791/MonetDB5/src/modules/kernel/batstr.mx"command batcalc.length( s:bat[:oid,:str] ) :bat[:oid,:int]address STRbatLengthcomment "Return the length of a string.";command batcalc.nbytes( s:bat[:oid,:str] ) :bat[:oid,:int]address STRbatBytescomment "Return the string length in bytes.";command batcalc.match(b:bat[:oid,:str], pat:str):bat[:oid,:bit]address STRbatmatchCstcomment "POSIX pattern matching against a string BAT";command batcalc.==( l:bat[:oid,:str], r:bat[:oid,:str]) :bat[:oid,:bit]address STRbatEqualcomment "Equate a bat of strings against each other";command batcalc.==( l:bat[:oid,:str], r:str) :bat[:oid,:bit]address STRbatEqualCstcomment "Equate a bat of strings against a singleton";command batcalc.!=( l:bat[:oid,:str], r:bat[:oid,:str]) :bat[:oid,:bit]address STRbatNotEqualcomment "Equate a bat of strings against each other";command batcalc.!=( l:bat[:oid,:str], r:str) :bat[:oid,:bit]address STRbatNotEqualCstcomment "Equate a bat of strings against a singleton";command batcalc.toLower( s:bat[:oid,:str] ) :bat[:oid,:str]address STRbatLowercomment "Convert a string to lower case.";command batcalc.toUpper( s:bat[:oid,:str] ) :bat[:oid,:str]address STRbatUppercomment "Convert a string to upper case.";command batcalc.trim( s:bat[:oid,:str] ) :bat[:oid,:str]address STRbatStripcomment "Strip whitespaces around a string.";command batcalc.ltrim( s:bat[:oid,:str] ) :bat[:oid,:str]address STRbatLtrimcomment "Strip whitespaces from start of a string.";command batcalc.rtrim( s:bat[:oid,:str] ) :bat[:oid,:str]address STRbatRtrimcomment "Strip whitespaces from end of a string.";command batcalc.startsWith(s:bat[:oid,:str],prefix:bat[:oid,:str]):bat[:oid,:bit]address STRbatPrefixcomment "Prefix check.";command batcalc.startsWith(s:bat[:oid,:str],prefix:str):bat[:oid,:bit]address STRbatPrefixcstcomment "Prefix check.";command batcalc.endsWith( s:bat[:oid,:str], suffix:bat[:oid,:str] ) :bat[:oid,:bit]address STRbatSuffixcomment "Suffix check.";command batcalc.endsWith( s:bat[:oid,:str], suffix:str ) :bat[:oid,:bit]address STRbatSuffixcstcomment "Suffix check.";command batcalc.search( s:bat[:oid,:str], c:bat[:oid,:str] ) :bat[:oid,:int]address STRbatstrSearchcomment "Search for a substring. Returns position, -1 if not found.";command batcalc.search( s:bat[:oid,:str], c:str ) :bat[:oid,:int]address STRbatstrSearchcstcomment "Search for a substring. Returns position, -1 if not found.";command batcalc.r_search( s:bat[:oid,:str], c:bat[:oid,:str] ) :bat[:oid,:int]address STRbatRstrSearchcomment "Reverse search for a substring. Returns position, -1 if not found.";command batcalc.r_search( s:bat[:oid,:str], c:str ) :bat[:oid,:int]address STRbatRstrSearchcstcomment "Reverse search for a substring. Returns position, -1 if not found.";command batcalc.+( l:bat[:oid,:str], r:bat[:oid,:str]) :bat[:oid,:str]address STRbatConcatcomment "Concatenate two strings.";command batcalc.+( l:bat[:oid,:str], r:str) :bat[:oid,:str]address STRbatConcatcstcomment "Concatenate a string to a bat of strings.";command batcalc.+( l:str, r:bat[:oid,:str]) :bat[:oid,:str]address STRcstConcatbatcomment "Concatenate two strings.";command batcalc.string(b:bat[:oid,:str],offset:bat[:oid,:int]) :bat[:oid,:str]address STRbatTailcomment "Return the tail s[offset..n] of a string s[0..n].";command batcalc.string(b:bat[:oid,:str],offset:int) :bat[:oid,:str]address STRbatTailcstcomment "Return the tail s[offset..n] of a string s[0..n].";command batcalc.chrAt( s:bat[:oid,:str], index:bat[:oid,:int]) :bat[:oid,:chr]address STRbatChrAtcomment "String array lookup operation.";command batcalc.chrAt( s:bat[:oid,:str], index:int) :bat[:oid,:chr]address STRbatChrAtcstcomment "String array lookup operation.";command batcalc.substring( s:bat[:oid,:str], start:bat[:oid,:int], index:bat[:oid,:int]) :bat[:oid,:str]address STRbatsubstringcomment "Substring extraction using [start,start+length]";command batcalc.substring( s:bat[:oid,:str], start:int, index:int) :bat[:oid,:str]address STRbatsubstringcstcomment "Substring extraction using [start,start+length]";command batcalc.unicodeAt(s:bat[:oid,:str], index:bat[:oid,:int]) :bat[:oid,:int]address STRbatWChrAtcomment "get a unicode character (as an int) from a string position.";command batcalc.unicodeAt(s:bat[:oid,:str], index:int) :bat[:oid,:int]address STRbatWChrAtcstcomment "get a unicode character (as an int) from a string position.";command batcalc.substitute(s:bat[:oid,:str],src:str,dst:str,rep:bit):bat[:oid,:str]address STRbatSubstitutecstcomment "Substitute first occurrence of 'src' by 'dst'. Iff repeated = true this is repeated while 'src' can be found in the result string. In order to prevent recursion and result strings of unlimited size, repeating is only done iff src is not a substring of dst.";command batcalc.like(s:bat[:oid,:str],pat:str):bat[:oid,:oid]address STRbatlike2comment "Perform SQL like operation against a string bat";command batcalc.like(s:bat[:oid,:str],pat:str,esc:str):bat[:oid,:oid]address STRbatlikecomment "Perform SQL like operation against a string bat";
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -