[FindString Source=...&Find=...&MatchCase=...&Reverse=...&StartAt=...]
numero = 181[text]mystring=WebDNA is a powerful, easy to learn, scripting language.[/text][text]found_at=[FindString source=[mystring]&find=powerful][/text][showif [found]>0]Found 'powerful' in source string at character position [found_at][/showif][hideif [found]>0]String 'powerful' not found.[/hideif]result...Found 'powerful' in source string at character position 13
Parameters | Description |
---|---|
Source | (Required) The character string to search. |
Find | (Required) The character string to find. |
MatchCase | (Optional) T/F - Default is 'F'. If set to 'T', the search will be case sensitive. |
Reverse | (Optional) T/F - Default is 'F'. If set to 'T', the search is performed starting from the end of the 'source' string. |
StartAt | (Optional) Sets the start position, in the 'source' string, from which to start the search. If not specified, the search will start from the beginning of the 'source' string. If the 'Reverse' parameter is set to 'T', the 'StartAt' position is relative to the end of the 'source' string. |
[text]mystring=WebDNA is a powerful, easy to learn, scripting language.[/text]
[text]found_at=[FindString source=[mystring]&find=powerful][/text]
[showif [found]>0]
Found 'powerful' in source string at character position [found_at]
[/showif]
[hideif [found]>0]
String 'powerful' not found.
[/hideif]
Parameters | Description |
---|---|
Source | (Required) The character string to search. |
Find | (Required) The character string to find. |
MatchCase | (Optional) T/F - Default is 'F'. If set to 'T', the search will be case sensitive. |
Reverse | (Optional) T/F - Default is 'F'. If set to 'T', the search is performed starting from the end of the 'source' string. |
StartAt | (Optional) Sets the start position, in the 'source' string, from which to start the search. If not specified, the search will start from the beginning of the 'source' string. If the 'Reverse' parameter is set to 'T', the 'StartAt' position is relative to the end of the 'source' string. |
DOWNLOAD WEBDNA NOW!
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA ModulesA list of the currently available modules...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Download WebDNA ApplicationsWebDNA applications...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Enable the WebDNA programmer to input XML data into a WebDNA variable...
[date]Putting [date] in your template displays the current date as defined by the clock on your web server...
[input][url]...
[commitdatabase][COMMITDATABASE db=name...
[tcpconnect]A powerful feature to connect to a TCP port of another computer on the Internet...
[clearlineitems]Remove all line items from the specified shopping cart...