mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: mention []rune.string() (#13348)
This commit is contained in:
parent
be1e40dac0
commit
ede9f29323
@ -712,6 +712,7 @@ A string can be converted to runes by the `.runes()` method.
|
||||
```v
|
||||
hello := 'Hello World 👋'
|
||||
hello_runes := hello.runes() // [`H`, `e`, `l`, `l`, `o`, ` `, `W`, `o`, `r`, `l`, `d`, ` `, `👋`]
|
||||
assert hello_runes.string() == hello
|
||||
```
|
||||
|
||||
### Numbers
|
||||
|
Loading…
Reference in New Issue
Block a user