[FindString Source=...&Find=...&MatchCase=...&Reverse=...&StartAt=...]You can use the [findstring] global tag to find the location of a sub-string within a given source string.
[text]mystring=WebDNA is a powerful, easy to learn, scripting language.[/text]
Found 'powerful' in source string at character position [found_at]
String 'powerful' not found.
|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!
A list of the currently available modules...Download WebDNA Applications
WebDNA applications...AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...WebDNA Libraries
A list of available libraries for WebDNA...F.A.Q
A compilation of some user's questions...Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Creates a new thread to execute WebDNA simultaneously with the current template...[getchars]
Extracts a portion of the text (also known as substring or Mid$)...Alphabetical WebDNA Reference
A list of all WebDNA instructions...[math]
[math] calculates equations using numbers...[SQLconnect]
Opens and persists a 'named' connection to a SQL server...[countwords]
The number displayed is the number of words inside the context...