# StringAdd The function adds a substring to the end of a string. ``` bool  StringAdd(    string&  string_var,        // string, to which we add    string   add_substring      // string, which is added    ); ``` Parameters string_var [in][out]  String, to which another one is added. add_substring [in]  String that is added to the end of a  source string. Return Value In case of success returns true, otherwise false. In order to get an [error code](/en/docs/constants/errorswarnings/errorcodes), the [GetLastError()](/en/docs/check/getlasterror) function should be called. Example: ``` void OnStart()   {    long length=1000000;    string a="a",b="b",c; //--- first method    uint start=GetTickCount(),stop;    long i;    for(i=0;i