mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
146 B
V
10 lines
146 B
V
|
module builtin
|
||
|
|
||
|
pub fn utf8_str_visible_length(s string) int {
|
||
|
// todo: proper implementation
|
||
|
res := 0
|
||
|
#res.val = s.str.length;
|
||
|
|
||
|
return res
|
||
|
}
|