v/vlib/builtin/js/utf8.js.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
}