Fix LEFT$

This commit is contained in:
otya128 committed 2016-12-24 16:18:55 +09:00
1 parent 0eb9e1620f
commit ed85733345
2 files changed
+10 -4

No files matched your search

+4
View File
@@ -1224,6 +1224,10 @@ class BuiltinFunction
//INSTRSUSBTLEFT
static wstring LEFT(wstring str, int len)
{
if (len >= str.length)
{
return str[0..$];
}
return str[0..len];
}
static wstring RIGHT(wstring str, int len)