Fix LEFT$
This commit is contained in:
1 parent
0eb9e1620f
commit
ed85733345
2 files changed
+10
-4
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user