Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for concatenation (0.2 sec)

  1. doc/go_spec.html

    </pre>
    
    <h4 id="String_concatenation">String concatenation</h4>
    
    <p>
    Strings can be concatenated using the <code>+</code> operator
    or the <code>+=</code> assignment operator:
    </p>
    
    <pre>
    s := "hi" + string(c)
    s += " and good bye"
    </pre>
    
    <p>
    String addition creates a new string by concatenating the operands.
    </p>
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top