Update String.cpp

Interface of class divided in separate header file.