...
...
Table Row (tr) Table Head (th)Property Summary
...
...
Divcache DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR. Enter additional information related to this 'class' inside the {div} macro with 'id=description'
...
...
...
true refresh 100d showRefresh true id doc title Refresh page showDate true retry Enable
servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient sWordList MobileClient
servoy sSummary 12% 30% 58% height: 30px; 3 Property Summary Specifies if the "g" modifier is set.
...
...
Specifies if the "i" modifier is set.
...
An integer specifying the index at which to start the next match.
...
...
Specifies if the "m" modifier is set.
...
...
...
...
The text used for pattern matching.
...
...
...
servoy sSummary 12% 30% 58% height: 30px;
...
Table Head (th)Method Summary
...
...
3 Methods Summary Search a string for a specified value.
...
Table Row (tr) Table Cell (td)Parameters
...
...
...
id Search a string for a specified value.
HTML Table
property class Colgroup Tag Column Table Row (tr)style servoy sDetail 2 100% height:30px ; Table Head (th)2 Property Details Table Body (tbody)id id global Table Row (tr)name Table Cell (td)global Table Row (tr)id des Table Cell (td) Divclass sIndent Specifies if the "g" modifier is set. tr id ret
Table Cell (td)Returns
div sIndent clients
Boolean Table Row (tr) Table Cell (td)Sample Div Code Blockvar str = 'Visit www.servoy.com';
var patt1 = new RegExp('www');
application.output(patt1.global);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td)ignoreCase
Table Row (tr) Table Cell (td) DivSpecifies if the "i" modifier is set.
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str = 'Visit www.servoy.com';
var patt1 = new RegExp('www');
application.output(patt1.ignoreCase);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td) DivAn integer specifying the index at which to start the next match.
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str = 'The rain in Spain stays mainly in the plain';
var patt1 = new RegExp('ain', 'g');
patt1.test(str);
application.output('Match found. index now at: ' + patt1.lastIndex);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td) DivSpecifies if the "m" modifier is set.
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str = 'Visit www.servoy.com';
var patt1 = new RegExp('www','m');
application.output(patt1.multiline);
Table Row (tr) Table Cell (td) Table Body (tbody) Table Row (tr) Table Cell (td) DivThe text used for pattern matching.
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str = 'Visit www.servoy.com';
var patt1 = new RegExp('www.','g');
application.output('The regular expression is: ' + patt1.source);
Table Row (tr) Table Cell (td)
...
id function class servoy sDetail
...
Table Row (tr) Table Head (th)Method Details
...
Table Row (tr) Table Cell (td) DivSearch a string for a specified value. Returns the found value and remembers the position.
Table Row (tr) Table Cell (td)Parameters
Table Row (tr) Table Cell (td)Returns DivString - A String representing the found value.
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str='Visit www.servoy.com';
var patt=new RegExp('servoy');
application.output(patt.exec(str));
...
...
Table Row (tr) Table Cell (td) DivSearch a string for a specified value. Returns true or false.
...
...
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow ignoreCase name ignoreCase des sIndent Specifies if the "i" modifier is set. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow lastIndex name lastIndex des sIndent An integer specifying the index at which to start the next match. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow multiline name multiline des sIndent Specifies if the "m" modifier is set. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow source name source des sIndent The text used for pattern matching. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow
function servoy sDetail 2 100% height:30px 2 Methods Details exec name exec(string) des sIndent Search a string for a specified value. Returns the found value and remembers the position. prs Parameters
sIndent string ; ret Returns
sIndent A String representing the found value. clients Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow test name test(string) des sIndent Search a string for a specified value. Returns true or false. prs Parameters
sIndent string ; ret Returns
sIndent true if a match was found in the string. false otherwise. clients
Table Row (tr) Table Cell (td)Sample Div Code Blockvar str='Visit www.servoy.com';
var patt=new RegExp('soft');
application.output(patt.test(str)==true);
patt.compile('servoy');
application.output(patt.test(str)==true)
Supported Clients
sIndent SmartClient,WebClient,NGClient,MobileClient sam Sample
sIdent javascript lastDetailRow