From e18e0018dadbd4a702536fa9d2ecb28e527f7ff7 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 18 Oct 2010 09:17:18 +0200 Subject: [PATCH] Changed: Added substr to ucstring --- code/nel/include/nel/misc/ucstring.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/include/nel/misc/ucstring.h b/code/nel/include/nel/misc/ucstring.h index a33c19fda..0c336d598 100644 --- a/code/nel/include/nel/misc/ucstring.h +++ b/code/nel/include/nel/misc/ucstring.h @@ -184,6 +184,11 @@ public: 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 ...) ucstring luabind_substr(size_type pos = 0, size_type n = npos) const {