Changed: Added substr to ucstring

This commit is contained in:
kervala 2010-10-18 09:17:18 +02:00
parent 99c0124f2c
commit 77b5f84ba9

View file

@ -184,6 +184,11 @@ public:
return res; return res;
} }
ucstring substr(size_type pos = 0, size_type n = npos) const
{
return ucstringbase::substr(pos, n);
}
// for luabind (can't bind to 'substr' else ...) // for luabind (can't bind to 'substr' else ...)
ucstring luabind_substr(size_type pos = 0, size_type n = npos) const ucstring luabind_substr(size_type pos = 0, size_type n = npos) const
{ {