replacestr => strreplace (sauer)
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6489 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+2
-2
@@ -240,11 +240,11 @@ docident [testlist] [Tests a list argument for various things.];
|
||||
docargument [L] [the list to test] [] [0];
|
||||
docargument [N] [the type of test to run] [min 0/max 2/default 0] [0];
|
||||
docremark [See /docs/reference.xml for more information about the usage of this command.];
|
||||
docident [replacestr] [Returns a string, with a portion of it replaced with a new sub-string.];
|
||||
docident [strreplace] [Returns a string, with a portion of it replaced with a new sub-string.];
|
||||
docargument [S] [the original string to modify] [] [0];
|
||||
docargument [T] [the target sub-string to replace] [] [0];
|
||||
docargument [N] [the new sub-string to replace the target] [] [0];
|
||||
docexample [echo (replacestr "Hello cruel world" cruel "")] [Output: Hello world];
|
||||
docexample [echo (strreplace "Hello cruel world" cruel "")] [Output: Hello world];
|
||||
docsection [General]
|
||||
docident [addserver] [Adds a server to the list of server to query in the server list menu.];
|
||||
docargument [S] [the address of the server (hostname or IP)] [] [0];
|
||||
|
||||
Reference in New Issue
Block a user