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:
Lucas GAUTHERON
2011-06-03 20:05:48 +00:00
parent eea4960b10
commit de3f70ac3b
3 changed files with 28 additions and 16 deletions
+4 -4
View File
@@ -455,7 +455,7 @@
<identifierReference identifier="concatword"/>
<identifierReference identifier="strlen"/>
<identifierReference identifier="substr"/>
<identifierReference identifier="replacestr"/>
<identifierReference identifier="strreplace"/>
</references>
</command>
@@ -524,7 +524,7 @@
<references>
<identifierReference identifier="strlen"/>
<identifierReference identifier="strpos"/>
<identifierReference identifier="replacestr"/>
<identifierReference identifier="strreplace"/>
</references>
</command>
@@ -1044,11 +1044,11 @@
</references>
</command>
<command name="replacestr">
<command name="strreplace">
<description>Returns a string, with a portion of it replaced with a new sub-string.</description>
<examples>
<example>
<code><![CDATA[echo (replacestr "Hello cruel world" cruel "")]]></code>
<code><![CDATA[echo (strreplace "Hello cruel world" cruel "")]]></code>
<explanation>Output: Hello world</explanation>
</example>
</examples>