More function documentation

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@568 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-07-13 20:03:43 +00:00
parent 700a941125
commit 32c1b5f4d1
13 changed files with 234 additions and 16 deletions
+18
View File
@@ -0,0 +1,18 @@
Function: contains
--Usage--
> contains(some_string, match: to_search_for)
Does one string contain another at any position?
--Parameters--
| @input@ [[type:string]] String to look in
| @match@ [[type:string]] String to look for
--Examples--
> contains("abcdefg", match:"abc") == true
> contains("abcdefg", match:"defg") == true
> contains("abcdefg", match:"abd") == false
--See also--
| [[fun:match|match / match_rule]] Does a string match a regular expression?