Perennial System interview question

Write string class where you can perform multiple operation on it (length, concat etc...)without using inbuilt function.