<<< string + operator | Index | Character literals >>> |
How to append one string to another with the += operator
firstName = "Bob"; // firstName is Bob lastName = "Smith"; // lastName is Smith name = firstName + " "; // name is Bob followed by a space name += lastName; // name is Bob Smith
<<< string + operator | Index | Character literals >>> |