Lib RuString 1.2
Converts strings with russian letters' compatible
What's new in 1.2
- When you enter "/forcedrustrings false" command, addon can offer you to reload UI
- Add new functions
- Improve hooking mechanism
- Change addon name in addon list (from "RuStringLib" to "Lib RuString"). File names' didn't changed.
- Forcedrustrings option resets after update
Slash commands
requires LibSlash
/forcedrustrings [true | false] - force ( if "true" ) all addons use LibRuString functions for strings' converting.
Macros
/script LibRuString.ToggleHook( true | false )
Functions
towrustring (arg) or WRu (arg) - towstring analog. Converts arg to wstring (if type(arg) == string then converts arg in wstring with russian letters' compatible)
torustring (arg) or Ru (arg) - tostring analog. Converts arg to string (if type(arg) == wstring then converts arg in string with russian letters' compatible)
RuStringToWString (arg) - StringToWString analog.
RuWStringToString (arg) - WStringToString analog.
IsRuString (string) - is string with russian letters? [result - boolean]
IsWRuString (wstring) - is wstring with russian letters? [result - boolean]
isru (arg) - is string, wstring or table with russian letters? [result - boolean] [arg - string, wstring or table]
Facts
- Date created
- 26 Jan 2009
- Category
- Last update
- 02 Feb 2009
- Development stage
- Inactive
- Language
- enUS
- ruRU
- License
- MIT License
- Curse link
- RuStringLib
- Recent files