Quotation Flatscher, Rony G.. 2009. rgf_util2.rex. 2009 International Rexx Symposium, Winchester, Gro├čbritannien, 18.05.-21.05..




ooRexx makes it very easy to define public routines and public classes stored in a single file (package). This presentation introduces a set of useful public routines and public classes that are designed to ease manipulating strings. All string related BIFs (built-in-functions) are enhanced such, that it becomes possible to carry out operations in caseless mode (by default) that are otherwise case-dependent, like ABBREV(...), CHANGESTR(...), COMPARE(), COUNTSTR(...), LASTPOS(...), POS(...) or WORDPOS(...). In addition negative position and length parameters become possible, which may be known from other programming languages, e.g. WORD2(string,-2) will extract the second to last word from the given string, SUBWORD2(string,-1,-2) the last two words from the given string. In addition the class "StringOfWords" allows for defining words assembled from non-English characters (like German umlauts), offering all of the word-BIF related functionality in form of respective methods, that also allow for negative position and length values. Finally, this utility package defines a few comparison classes for sorting and supplies a public routine that eases its usages for sorting for the Rexx programmer. The package works for ooRexx 3.2 and was tested under the alpha version of ooRexx 4.0.


Press 'enter' for creating the tag

Publication's profile

Status of publication Published
Affiliation WU
Type of publication Paper presented at an academic conference or symposium
Language English
Title rgf_util2.rex
Event 2009 International Rexx Symposium
Year 2009
Date 18.05.-21.05.
Country United Kingdom
Location Winchester
URL http://www.rexxla.org/events/2009/schedule.html


Flatscher, Rony G. (Details)
Institute for Information Systems and Society IN (Details)
Research areas (├ľSTAT Classification 'Statistik Austria')
1109 Information and data processing (Details)
1138 Information systems (Details)
1140 Software engineering (Details)
1146 Management information systems (Details)
1150 Information design (Details)
5367 Management information systems (Details)
Google Scholar: Search