PreviousCallback Up
Base Class Library
COBOLComp5Next

CharacterArray

A CharacterArray stores strings as objects, and is a convenient way to handle text of any length. A CharacterArray also provides methods for manipulating and searching itself.

The CobolPicx class provides the same functionality as CharacterArray, but CharacterArrays are more efficient and easier to use when creating instances. This is because a CharacterArray stores the string as indexed data, and you don't need to clone the CharacterArray class to the length of data you want to store. Use instances of Cobolpicx only when it is important that the instance data comprises just the string.

See class cobolpicx.

Class-Control Entry

Include this entry in the Class-Control paragraph of any program using this class.

CharacterArray is class "chararry"

Superclass

buttonArray


buttonClass Methods


Instance Methods

The list includes methods inherited from superclasses up to, but not including, Collection. For other inherited methods, click the button below:

buttonCollection

add Using avoidparam
asArrayOfSubStrings Returning lnkArrayObject
asCharacterArray Returning lnkCopy
asCOMP5 Returning lnkComp5
asCOMP5Object Returning lnkComp5
asHEX Returning lnkComp5
asInternalFilename Returning lnkFilename
asLowercase Returning lnknewstring
asParameter Returning lnkstring
asPicX Returning lnknewstring
asSeparateLines Returning lnkcollection
asUppercase Returning lnknewstring
at Using anindex
Returning returnelement
atAllPut Using anelement
atPut Using anindex avalue
collect Using amessage
Returning anewcollection
compareTo Using anarray
Returning lnkResult
concat Using lnkobject
Returning lnknewstring
concatZ Using lnkString
Returning lnkNewString
containsCharacters Returning lnkbool
copyFromTo Using lnkStartIndex lnkEndIndex
Returning lnkNewCharacterArray
copyReplace Using fromindex toindex acollection
Returning anewcollection
copyReplaceAll Using acollection acollection2
Returning anewcollection
copyWith Using anelement
Returning anewcollection
copyWithOut Using anelement
Returning anewcollection
deepCopy Returning anewcollection
description Returning lnkString
display
do Using amessage
doWithOutCopy Using amessage
equal Using anotherstring
Returning lnkresult
equalsIgnoreCase Using anobject
Returning lnkbool
equalsIgnoreCasebyLengthValue Using comparelength comparevalue
Returning lnkbool
findFirst Using amessage
Returning anindex
findLast Using amessage
Returning anindex
first Returning anelement
firstIndexOf Using anelement fromindex toindex
Returning anindex
firstIndexOfIdentity Using anelement fromindex toindex
Returning anindex
getAddress Returning lnkPtr
getValue Returning lnkstring
getValueWithSize Using lnksize
Returning lnkstring
getValueWithSizeAtPosition Using lnkoffset lnksize
Returning lnkstring
getValueZ Returning lnkstring
greaterThan Using anarray
Returning lnkbool
greaterThanbyLengthValue Using comparelength comparevalue
Returning lnkbool
greaterThanOrEqual Using anintrinsic
Returning lnkbool
grow
growTo Using requiredSize
Returning defaultreturn
hash Returning ahashvalue
indexOfSubCollection Using lnkSearchCharacterArray lnkStartCharIndexPosition
Returning lnkCharIndexPosition
insertAllAfter Using anindex acollection
Returning anewcollection
isatIdentity Using anelement anindex
Returning lnkbool
isCompatible Using acollection
Returning lnkbool
keysAndDatado Using amessage
last Returning anelement
lastIndexOf Using anelement fromindex toindex
Returning anindex
LessThan Using anarray
Returning lnkbool
lessThanbyLengthValue Using comparelength comparevalue
Returning lnkbool
LessThanOrEqual Using anintrinsic
Returning lnkbool
moveValue Using lnkString
occurrencesOf Using anelement
Returning anumber
reject Using amessage
Returning anewcollection
remove Using anobject
replaceAll Using anelement anelement2 fromindex toindex
replaceSubCollection Using fromindex toindex acollection fromSource
resetValue Using lnkString
reverse Returning anewcollection
reverseDo Using amessage
select Using amessage
Returning anewcollection
setValue Using lnkstring
size Returning acollectionsize
sizeInBytes Returning acollectionsize
trimBlanks Returning lnkobject
withDo Using acollection amessage