Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for concatenating (0.06 seconds)

  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>
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top