strlen, rand, substr