char* Copy( chara Text, size_t Len, int Pos ) { if(Text > 0) { if(Len + Pos > Text.Len()) return ""; char* ToReturn = new(std::nothrow) char[Len + 1]; for( int i = Pos; i < Len + Pos; i++ ) ToReturn[i - Pos] = Text[i]; ToReturn[Len] = '\0'; return ToReturn; } else return ""; }