Packages

rgf_util2.rex

Routine: abbrev2


USE ARG arg1, arg2, ...

Routine: changeStr2


USE ARG arg1needle, arg2haystack, arg3newNeedle, ...
PARSE ARG arg1needle, arg2haystack, arg3newNeedle, arg4count

Routine: compare2


USE ARG arg1string1, arg2string2, arg3padChar=" ", ...

Routine: countStr2


USE ARG arg1needle, arg2haystack, ...

Routine: delStr2


USE ARG arg1, ...
PARSE ARG ., arg2, arg3

Routine: delWord2


USE ARG string, arg2, ...
PARSE ARG string, arg2, arg3

Routine: dump2


USE ARG coll, title=("type: The" coll~class~id "class"), comparator=.nil

Routine: enquote2


USE ARG string, quote='"'

Routine: escape2


PARSE ARG a1

Routine: lastPos2


USE ARG arg1needle, arg2haystack, ...

Routine: left2


USE ARG arg1string, arg2length, ...

Routine: lower2


USE ARG arg1, ...
PARSE ARG ., arg2, arg3

Routine: makeRelation2


USE ARG coll, message=.nil

Routine: overlay2


USE ARG new1string, arg1string, ...
PARSE ARG ., ., arg2start, arg3NewLength, arg4pad

Routine: parseWords2


USE ARG string, reference=(" "||"09"x), kind="D", returnType="W"

Routine: Pos2


USE ARG arg1needle, arg2haystack, ...

Routine: pp2


USE ARG a1

Routine: ppCondition2


USE ARG co, bShowPackageInfo=.false, indent1="09"x, lf=.endOfLine

Routine: ppIndex2


USE ARG a1

Routine: ppMethod2


USE ARG meth, indent=""

Routine: ppPackage2


USE ARG package, indent1="", indent2="09"x, lf=.endOfLine

Routine: right2


USE ARG arg1string, arg2length, ...

Routine: sort2


USE ARG arg1, arg2="A", arg3="IN", ...

Routine: stableSort2


USE ARG arg1, arg2="A", arg3="I", ...

Routine: subchar2


USE ARG arg1, arg2
PARSE ARG arg1, arg2

Routine: substr2


USE ARG arg1, ...
PARSE ARG ., arg2, arg3, arg4

Routine: subWord2


USE ARG string, arg2, ...
PARSE ARG string, arg2, arg3

Routine: upper2


USE ARG arg1, ...
PARSE ARG ., arg2, arg3

Routine: word2


USE ARG string, arg2
PARSE ARG string, arg2

Routine: wordIndex2


USE ARG string, arg2
PARSE ARG string, arg2

Routine: wordLength2


USE ARG string, arg2
PARSE ARG string, arg2

Routine: wordPos2


USE ARG arg1, arg2, arg3=1, ...

Class: MessageComparator

Mixin-Classes: Comparator

Attributes

No Attributes

Methods

  • init
    USE ARG message, bCache=.false
  • cached_plain_caseless_compare
    USE ARG left, right
  • cached_plain_compare
    USE ARG left, right
  • cached_plain_numeric_compare
    USE ARG left, right
  • multiple_messages_compare
    USE ARG left, right
  • plain_caseless_compare
    USE ARG left, right
  • plain_compare
    USE ARG left, right
  • plain_numeric_compare
    USE ARG left, right

Constants

No Constants

Class: NumberComparator

Mixin-Classes: Comparator

Attributes

No Attributes

Methods

  • init
    USE ARG bIgnoreNonNumbers=.true, order="A", case="I"
  • compare
    USE ARG left, right
  • compareWithNonNumbers
    USE ARG left, right
  • compareWithNonNumbersDescending
    USE ARG left, right
  • stringComparator
  • stringComparator=
    USE ARG stringComparator

Constants

No Constants

Class: 'StringColumnComparator'

Mixin-Classes: Comparator

Attributes

No Attributes

Methods

  • init
    USE ARG arg1, ...

Constants

No Constants

Class: StringComparator

Mixin-Classes: Comparator

Attributes

No Attributes

Methods

  • init
    PARSE ARG order, case
  • compare ABSTRACT

Constants

No Constants

Class: StringOfWords

Attributes

  • kind GETTER
  • kind SETTER
    PARSE ARG tmp .
  • positionArray GETTER
  • reference GETTER
  • reference SETTER
    PARSE ARG tmp
  • string GETTER
  • string SETTER
    PARSE ARG string
  • wordArray GETTER

Methods

  • init
    USE ARG string, reference=(" "||"09"x), kind="D"
  • delWord
    USE ARG position, ...
    PARSE ARG position, length
  • makeArray
  • subWord
    USE ARG position, ...
    PARSE ARG position, length
  • word
    USE ARG position
  • wordIndex
    USE ARG position
  • wordLength
    USE ARG position
  • wordPos
    USE ARG phrase, startPos=1, letter="I"
  • words

Constants

No Constants