mirror of
https://github.com/vlang/v.git
synced 2025-09-07 14:20:10 -04:00
14 lines
199 B
V
14 lines
199 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
|
|
}
|
|
|
|
pub fn utf8_str_len(s string) int {
|
|
return s.len
|
|
}
|