CubeScript: strcpy now called substr (Duh!)

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6159 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2011-03-29 19:09:44 +00:00
parent fb968e9db3
commit d227d82c8b
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -337,7 +337,7 @@
<return token="N" description="the equality" valueNotes="1 (equal) or 0 (unequal)"/>
</command>
<command name="strcpy">
<command name="substr">
<description>Copys a substring out of the original.</description>
<arguments>
<argument token="S" description="the original string"/>
@@ -350,15 +350,15 @@
</remarks>
<examples>
<example>
<code><![CDATA[echo (strcpy abcdefgh 2 5)
<code><![CDATA[echo (substr abcdefgh 2 5)
cde]]></code>
</example>
<example>
<code><![CDATA[echo (strcpy abcdefgh 2 3)
<code><![CDATA[echo (substr abcdefgh 2 3)
c]]></code>
</example>
<example>
<code><![CDATA[echo (strcpy abcdefgh 2)
<code><![CDATA[echo (substr abcdefgh 2)
cdefgh]]></code>
</example>