aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/old/vlib/strings/strings.v
blob: c01dd90fc71dfc414451b37071c874768d7c234f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}
*/