Fix a Str::snake Function
Improved The Str::snake Function #6100
Merge pull request #6100 from panlatent/master

[5.0] Improved The Str::snake Function