Modified RandomStr