v/vlib/strings/strings.v

14 lines
202 B
V
Raw Normal View History

module strings
2020-12-21 21:00:32 +01:00
// import rand
// random returns a random string with `n` characters
/*
pub fn random(n int) string {
buf := vmalloc(n)
for i in 0..n {
buf[i] = rand.next()
}
return tos(buf)
}
*/