ランダム文字列を生成するために、RubyではBase36を使えば良い
rand(36**length).to_s(36)
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
ランダム文字列を生成するために、RubyではBase36を使えば良い
rand(36**length).to_s(36)
Register as a new user and use Qiita more conveniently
Go to list of users who liked