Changed: Added substr to ucstring

This commit is contained in:
kervala 2010-10-18 09:17:18 +02:00
parent 87565b46b9
commit 8fc95d7a81

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
{ {