Strings Library v2

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2009-11-18 | updated: 2013-05-02


Strings Library v2:Contains 17 string-affecting methods. Methods include Capitalize, CharPos, CharRPos, Concatenate, Pad, Parse, StrCount, StrPos, StrRepeat, StrReplace, StrRev, StrStr, StrToLower, StrToUpper, SubStr, Trim, and WordWrap. Some are similar in functionality to PHP's string functions by the same name.

Version 2 and 1 are being kept separate because different precautions are needed for each. It is not to be used as a drop-in replacement. Be sure to read the documentation to understand the method differences.

A list of methods that may return a string that is longer than the original passed string, thus requiring special setup: StrReplace, Concatenate, Pad, StrRepeat, and WordWrap.

All methods in Version 2 are faster than version 1.X except StrPos which is the same, and StrRev which is 33% slower.


Original File Upload
Package icon STRINGS2.zip20.1 KB