| 143 When there is no `str` where the other strings shall be appended to, you can pass `CX_NULLSTR` as the first argument. |
143 When there is no `str` where the other strings shall be appended to, you can pass `CX_NULLSTR` as the first argument. |
| 144 In that case, a completely new string is allocated. |
144 In that case, a completely new string is allocated. |
| 145 |
145 |
| 146 Example usage: |
146 Example usage: |
| 147 ```C |
147 ```C |
| 148 cxmutstr str = cx_strcat(CX_NULLSTR, 2, |
148 cxmutstr str = cx_strcat( |
| 149 cx_str("Hello, "), cx_str("World!")); |
149 CX_NULLSTR, 2, |
| |
150 cx_str("Hello, "), |
| |
151 cx_str("World!") |
| |
152 ); |
| 150 ``` |
153 ``` |
| 151 |
154 |
| 152 The function `cx_strlen()` sums the length of the specified strings. |
155 The function `cx_strlen()` sums the length of the specified strings. |
| 153 |
156 |
| 154 > There is no reason to use `cx_strlen()` for a single UCX string. |
157 > There is no reason to use `cx_strlen()` for a single UCX string. |