VERSION,FREEMEM,RIGHT$実装

This commit is contained in:
otya128 committed 2015-08-27 21:35:15 +09:00
1 parent 7eabb17a22
commit f149ce596f
4 files changed
+30 -5

No files matched your search

+4
View File
@@ -327,6 +327,10 @@ class BuiltinFunction
{
return str[0..len];
}
static wstring RIGHT(wstring str, int len)
{
return str[$ - len..$];
}
static wstring SUBST(wstring str, int i, Value alen, DefaultValue!(Value,false) areplace)
{
int len = 1;