From 77b5f84ba98dcdbd76b0d7e27a52dc8dfb2e55cf 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 {