1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: document array.join method (#10360)

This commit is contained in:
Valentin Syrovatskiy 2021-06-06 12:32:49 +03:00 committed by GitHub
parent 007ba5178e
commit 04e77419cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -790,6 +790,7 @@ There are further built in methods for arrays:
* `a.delete_last()` remove last element from array * `a.delete_last()` remove last element from array
* `b := a.reverse()` make `b` contain the elements of `a` in reversed order * `b := a.reverse()` make `b` contain the elements of `a` in reversed order
* `a.reverse_in_place()` reverse the order of elements in `a` * `a.reverse_in_place()` reverse the order of elements in `a`
* `a.join(joiner)` concatenate array of strings into a string using `joiner` string as a separator
#### Sorting Arrays #### Sorting Arrays