summaryrefslogtreecommitdiffstats
path: root/tapset/string.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/string.stp')
-rw-r--r--tapset/string.stp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapset/string.stp b/tapset/string.stp
index f1666afa..77925d0d 100644
--- a/tapset/string.stp
+++ b/tapset/string.stp
@@ -17,7 +17,7 @@ function strlen:long(s:string) %{ /* pure */
* @param str string
* @param start Starting position. 0 = start of the string
* @param length Length of string to return.
-* @return Returns the length of the string.
+* @return Returns the substring.
*/
function substr:string(str:string,start:long, length:long) %{ /* pure */
int length = THIS->length + 1 > MAXSTRINGLEN ? MAXSTRINGLEN : THIS->length + 1;