Skip to content

Instantly share code, notes, and snippets.

@FGFW
Created November 1, 2015 20:53
Show Gist options
  • Save FGFW/1d8e6ffb8479b51d59ba to your computer and use it in GitHub Desktop.
Save FGFW/1d8e6ffb8479b51d59ba to your computer and use it in GitHub Desktop.
Jass StringCase
// 参考资料 http://jass.wikia.com/wiki/Function_StringCase
StringCase( string source, boolean upper )
returns string
//Converts all characters in a string to all uppercase or lowercase. true = uppercase false = lowercase
//把字符串所有全部转换为大写或者小写,第一个参数为源字符串,第二参数为ture则全转为大写,false则转为小写。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment