string.concat()

String.concat() Concatenate two strings
Syntax
String1.concat(String2)
The output is an string after joining

Here are some examples with output.
String my_str1="Welcome to ";
System.out.println(my_str1.concat("plus2net"));
Output is here
Welcome to plus2net


All String functions

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    Post your comments , suggestion , error , requirements etc here




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer