- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,154 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Bukkit Plugins
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top Terraria Maps
- Top StarCraft II Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
LibString
- 0 Likes
- Rift
- 54 Monthly Downloads
- Supports: 1.9
- 1,228 Total Downloads
- Updated 07/24/2012
- Created 03/05/2012
- 1 Favorites
- Project Site
- Comments
- Release Type: Release
- License: MIT License
- Newest File: 1.0.1
About LibString
General Information
LibString adds new functions to Lua's string table for common tasks found in most string libraries.
New string functions
string.concatconcatenates a list of strings.string.formatnenhances the defaultstring.formatwith index-specifiers like"%1s %10i"for accessing arguments out-of-order. This is especially useful for localization.string.insertinserts a string into another at a specified index.string.joinconcatenates a list of strings by inserting a separator string between each.string.prefixchecks whether a string is a prefix of another (i.e. starts with).string.splitsplits a string at given delimeters and returns the respective substrings either as list or table.string.gsplitdoes the same asstring.splitbut can be used inforloops like Lua'sstring.gmatch.string.suffixchecks whether a string is a suffix of another (i.e. ends with).string.tostringaccepts a list of arguments and returns a list of strings (Lua'stostringaccepts only one argument).string.ltrim,string.rtrimandstring.trimremove characters at the beginning, end or both ends of a string, respectively.
Detailed function descriptions can be found on the documentation page.
tag 1.0.1
5062f859d8a0843bda4e47acd2a8acc8c04d24cf
imhothar <none>
2012-07-24 07:39:49 +0200
Tagging as 1.0.1
--------------------
imhothar:
- Pushed version to 1.0.1 and environment to 1.9
- Removed reference to global "unpacked" in string.split
- Added email and website to .toc file

Comments