1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/strings/strings.v
Alexander Medvednikov c563168d69 rand: string()
2020-07-15 21:36:09 +02:00

16 lines
203 B
V

module strings
//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)
}
*/