Create substrwithconcatenate.cpp