Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for concatenation (0.08 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top