Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: String Handling

This library cluster has 133 classes.

ECF: base.ecf

Classes providing the following:

Directory: library/base/text/string

. /buffer

. /buffer/routines

. /buffer/shared

. /constants

. /convert

. /cursor

. /edit

. /edit/history

. /escape

. /escape/bash

. /escape/csv

. /escape/python

. /extra

. /helper

. /numeric

. /reusable

. /reusable/scope

. /structures

. /structures/list

. /structures/table

. /substring-array

. /unescape

buffer

EL_STRING_32_BUFFER

Implementation of EL_STRING_32_BUFFER_I

EL_STRING_32_BUFFER_I

Interface for buffer of type STRING_32

EL_STRING_8_BUFFER

Implementation of EL_STRING_8_BUFFER_I

Further Information

Click on class link to see client examples.

EL_STRING_8_BUFFER_I

Interface for buffer of type STRING_8

EL_STRING_BUFFER

Temporary string buffer

EL_ZSTRING_BUFFER

Implementation of EL_ZSTRING_BUFFER_I

EL_ZSTRING_BUFFER_I

Interface for buffer of type EL_ZSTRING

buffer/routines

EL_STRING_32_BUFFER_ROUTINES

Temporary once buffer of type STRING_32

EL_STRING_8_BUFFER_ROUTINES

Expanded implementation of EL_STRING_8_BUFFER_I with shared buffer of type STRING_8

Further Information

Click on class link to see client examples.

EL_ZSTRING_BUFFER_ROUTINES

Routines to acccess shared buffer of type EL_ZSTRING

Further Information

Click on class link to see client examples.

buffer/shared

EL_MODULE_BUFFER

Access to routines of EL_ZSTRING_BUFFER_ROUTINES via buffer

Further Information

Click on class link to see client examples.

EL_MODULE_BUFFER_32

Access to routines of EL_STRING_32_BUFFER_ROUTINES via buffer_32

EL_MODULE_BUFFER_8

Access to routines of EL_STRING_8_BUFFER via Buffer_8

Further Information

Click on class link to see client examples.

constants

EL_CASE

Word case constants

Further Information

Click on class link to see client examples.

EL_MODULE_ASCII

Shared access to base class ASCII

EL_STRING_32_CONSTANTS

Constants for class STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_8_CONSTANTS

Constants for class STRING

Further Information

Click on class link to see client examples.

EL_STRING_ADJUST

String adjustment status that can be combined with bit_or operator

Further Information

Click on class link to see client examples.

EL_ZSTRING_CONSTANTS

Constants for class EL_ZSTRING (AKA ZSTRING)

Further Information

Click on class link to see client examples.

convert

EL_MODULE_CONVERT_STRING

Shared access to instance of class EL_STRING_CONVERSION_TABLE

EL_READABLE_STRING_GENERAL_TO_TYPE

Convert READABLE_STRING_GENERAL to type G

EL_STRING_CONVERSION_TABLE

Table of converters conforming to EL_READABLE_STRING_GENERAL_TO_TYPE [ANY] for converting strings conforming to READABLE_STRING_GENERAL to common data types

Further Information

Click on class link to see notes.

EL_STRING_TO_BOOLEAN

Convert READABLE_STRING_GENERAL to type BOOLEAN

EL_STRING_TO_CHARACTER_32

Convert READABLE_STRING_GENERAL to type CHARACTER_32

EL_STRING_TO_CHARACTER_8

Convert READABLE_STRING_GENERAL to type CHARACTER_8

EL_STRING_TO_DIR_PATH

Convert READABLE_STRING_GENERAL to type DIR_PATH

EL_STRING_TO_FILE_PATH

Convert READABLE_STRING_GENERAL to type FILE_PATH

EL_STRING_TO_INTEGER_16

Convert READABLE_STRING_GENERAL to type INTEGER_16

EL_STRING_TO_INTEGER_32

Convert READABLE_STRING_GENERAL to type INTEGER_32

EL_STRING_TO_INTEGER_64

Convert READABLE_STRING_GENERAL to type INTEGER_64

EL_STRING_TO_INTEGER_8

Convert READABLE_STRING_GENERAL to type INTEGER_8

EL_STRING_TO_NATURAL_16

Convert READABLE_STRING_GENERAL to type NATURAL_16

EL_STRING_TO_NATURAL_32

Convert READABLE_STRING_GENERAL to type NATURAL_32

EL_STRING_TO_NATURAL_64

Convert READABLE_STRING_GENERAL to type NATURAL_64

EL_STRING_TO_NATURAL_8

Convert READABLE_STRING_GENERAL to type NATURAL_8

EL_STRING_TO_REAL_32

Convert READABLE_STRING_GENERAL to type REAL_32

EL_STRING_TO_REAL_64

Convert READABLE_STRING_GENERAL to type REAL_64

EL_STRING_TO_STRING_32

Convert READABLE_STRING_GENERAL to type STRING_32

EL_STRING_TO_STRING_8

Convert READABLE_STRING_GENERAL to type STRING_8

EL_STRING_TO_ZSTRING

Convert READABLE_STRING_GENERAL to type EL_ZSTRING

cursor

EL_ITERABLE_SPLIT

Iterable string split with separator of type G

Further Information

Click on class link to see client examples.

EL_ITERABLE_SPLIT_CURSOR

Cursor for target string sections split by separator of type G

Further Information

Click on class link to see client examples.

EL_ITERABLE_SPLIT_FACTORY_ROUTINES

Create optimal EL_ITERABLE_SPLIT instance for READABLE_STRING_GENERAL

EL_SHARED_STRING_32_CURSOR

Shared instance of EL_STRING_32_ITERATION_CURSOR

Further Information

Click on class link to see client examples.

EL_SHARED_STRING_8_CURSOR

Shared instance of EL_STRING_8_ITERATION_CURSOR

Further Information

Click on class link to see client examples.

EL_SPLIT_IMMUTABLE_STRING_8_ON_CHARACTER

Split target string of type IMMUTABLE_STRING_8 with separator of type CHARACTER_32

EL_SPLIT_IMMUTABLE_STRING_8_ON_CHARACTER_CURSOR

EL_SPLIT_ON_CHARACTER_CURSOR [IMMUTABLE_STRING_8] implemented using shared_substring for item_copy

EL_SPLIT_ON_CHARACTER

Split target string conforming to READABLE_STRING_GENERAL with separator of type CHARACTER_32

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_CHARACTER_CURSOR

EL_ITERABLE_SPLIT_CURSOR implemented with CHARACTER_32 separator

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_STRING

Split target string conforming to READABLE_STRING_GENERAL with separator of type READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_SPLIT_ON_STRING_CURSOR

EL_ITERABLE_SPLIT_CURSOR implemented with READABLE_STRING_GENERAL separator

EL_STRING_32_ITERATION_CURSOR

External forward one-step iteration cursor for STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_8_ITERATION_CURSOR

External forward one-step iteration cursor for STRING_8

Further Information

Click on class link to see client examples.

EL_STRING_ITERATION_CURSOR

String iteration cursor

edit

EL_STRING_32_EDITOR

Edit strings of type STRING_32 by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

EL_STRING_8_EDITOR

Edit strings of type STRING_8 by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

EL_STRING_EDITOR

Edit strings by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See delete_interior for an example of an editing procedure

Further Information

Click on class link to see descendants.

EL_ZSTRING_EDITOR

Edit strings of type EL_ZSTRING by applying an editing procedure to all occurrences of substrings that begin and end with a pair of delimiters.

See {EL_STRING_EDITOR}.delete_interior for an example of an editing procedure

Further Information

Click on class link to see client examples.

edit/history

EL_STRING_32_EDITION_HISTORY

String 32 edition history

EL_STRING_8_EDITION_HISTORY

String 8 edition history

Further Information

Click on class link to see client examples.

EL_STRING_EDITION

String edition

EL_STRING_EDITION_HISTORY

String edition_item history

EL_ZSTRING_EDITION_HISTORY

String 32 edition history

Further Information

Click on class link to see client examples.

escape

EL_STRING_32_ESCAPER

String 32 escaper

Further Information

Click on class link to see client examples.

EL_STRING_8_ESCAPER

String 8 escaper

EL_STRING_GENERAL_ESCAPER

String general escaper

EL_ZSTRING_ESCAPER

Zstring escaper

Further Information

Click on class link to see client examples.

escape/bash

EL_BASH_PATH_GENERAL_ESCAPER

Bash path general escaper

EL_BASH_PATH_STRING_32_ESCAPER

Bash path string 32 escaper

Further Information

Click on class link to see client examples.

EL_BASH_PATH_STRING_8_ESCAPER

Bash path string 8 escaper

EL_BASH_PATH_ZSTRING_ESCAPER

Bash path zstring escaper

Further Information

Click on class link to see client examples.

escape/csv

EL_COMMA_SEPARATED_VALUE_ESCAPER

Escape characters for value in comma separated format

Further Information

Click on class link to see client examples.

escape/python

EL_PYTHON_GENERAL_ESCAPER

Python general escaper

EL_PYTHON_ZSTRING_ESCAPER

Python zstring escaper

Further Information

Click on class link to see client examples.

extra

EL_CODE_STRING

Latin-1 code string that fits into 8 bytes or less and is initializeable from any of the NATURAL_<X> numeric data types.

Further Information

Click on class link to see client examples.

EL_READABLE_STRING_GENERAL_ROUTINES

Routines for classes conforming to READABLE_STRING_GENERAL

EL_READABLE_STRING_X_ROUTINES

Routines to supplement handling of strings conforming to READABLE_STRING_8 READABLE_STRING_32

EL_STRING_32_ROUTINES

String 32 routines

Further Information

Click on class link to see client examples.

EL_STRING_8_ROUTINES

String 8 routines

Further Information

Click on class link to see client examples.

EL_STRING_X_ROUTINES

Routines to supplement handling of STRING_8 STRING_32 strings

EL_ZSTRING_ROUTINES

Convenience routines for EL_ZSTRING

Further Information

Click on class link to see client examples.

helper

EL_BOYER_MOORE_SEARCHER_32

Efficient Boyer-Moore Search for Unicode Strings See: codeproject.com Article

EL_CASE_COMPARISON

Case comparison

EL_STRING_32

Extended STRING_32

EL_STRING_NODE

Abstraction to convert a node representing a string to a various string types

Further Information

Click on class link to see descendants.

EL_TEMPLATE

Basic string template to substitute variables names with possible forms:

$a_1 OR ${a_1}

and composed of characters in ranges

'a' .. 'z'
'A' .. 'Z'
'0' .. '9'
'_'

For a literal dollar sign use % to escape it, for example: "USD 100 %$"

Further Information

Click on class link to see client examples.

EL_TEXT_PATTERN_I

Abstract text pattern

numeric

EL_BINARY_STRING_CONVERSION

Conversion of binary numeric strings to numbers

EL_HEXADECIMAL_STRING_CONVERSION

Conversion of hexadecimal numeric strings to numbers

EL_MODULE_BINARY

Access to shared instance of class EL_BINARY_STRING_CONVERSION. Accessible via EL_MODULE_BINARY

EL_MODULE_HEXADECIMAL

Shared access to routines of class EL_HEXADECIMAL_STRING_CONVERSION

Further Information

Click on class link to see client examples.

EL_MODULE_OCTAL

Shared access to conversion routines of class EL_OCTAL_STRING_CONVERSION

EL_OCTAL_STRING_CONVERSION

Conversion of octal numeric strings to numbers

EL_POWER_2_BASE_NUMERIC_STRING_CONVERSION

Conversion of binary, octal or hexadecimal numeric strings to numbers

reusable

EL_MODULE_REUSEABLE

Shared instance of EL_REUSEABLE_STRINGS

Further Information

Click on class link to see client examples.

EL_REUSEABLE_STRINGS

Provide access to pools of reusable strings using across loop scopes

Further Information

Click on class link to see notes.

EL_STRING_FACTORY_POOL

Implementation of EL_FACTORY_POOL [STRING_GENERAL]

reusable/scope

EL_BORROWED_STRING_CURSOR

Cursor to use an across loop as an artificial scope in which a temporary string buffer conforming to STRING_GENERAL can be borrowed from a shared pool. After iterating just once the scope finishes and the buffer item is automatically returned to the shared pool stack.

Further Information

Click on class link to see notes.

EL_BORROWED_STRING_SCOPE

Defines an across loop scope in which a string conforming to STRING_GENERAL can be borrowed from a factory pool and then automatically returned after the first and only iteration of the cursor.

EL_STRING_POOL_SCOPE

Defines an across loop scope in which multiple strings can be borrowed from a shared pool and automatically returned when the loop exits after first and only iteration

EL_STRING_POOL_SCOPE_CURSOR

Artificial scope defined by an across loop in which strings can be borrowed from a pool See class EL_STRING_POOL_SCOPE

structures

EL_CACHED_STRING

Cached string

EL_OCCURRENCE_INTERVALS

List of all occurrence intervals of a search_string in a string conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

structures/list

EL_CHAIN_STRING_LIST_COMPILER

Object to compile a list of strings using a supplied value function for item chain. The value function need only return a string conforming to STRING_GENERAL or else any object with a meaningful implementation of the out function.

EL_JOINABLE_STRINGS

Abstraction for joining strings using some routines found in EL_CHAIN

EL_LINE_LIST

Line list

EL_LINKED_STRING_LIST

Linked string list

Further Information

Click on class link to see client examples.

EL_SPLIT_STRING_32_LIST

EL_SPLIT_STRING_LIST for STRING_32 items.

Further Information

Click on class link to see notes and client examples.

EL_SPLIT_STRING_8_LIST

EL_SPLIT_STRING_LIST for STRING_8 items.

Further Information

Click on class link to see notes and client examples.

EL_SPLIT_STRING_LIST

List of split items of a string conforming to STRING_GENERAL delimited by delimiter

Further Information

Click on class link to see notes and client examples.

EL_SPLIT_STRING_LIST_ITERATION_CURSOR

Split string list iteration cursor

EL_SPLIT_ZSTRING_LIST

List of EL_ZSTRING split parts delimited by delimiter

This is a more efficient way to process split strings as it doesn't create a new string instance for each split part.

Further Information

Click on class link to see client examples.

EL_STRING_32_LIST

List of STRING_32 strings

Further Information

Click on class link to see client examples.

EL_STRING_8_LIST

List of STRING_8 strings

Further Information

Click on class link to see client examples.

EL_STRING_CHAIN

Chain of strings conforming to STRING_GENERAL

EL_STRING_LIST

List of strings conforming to STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_ZSTRING_LIST

List of EL_ZSTRING strings

Further Information

Click on class link to see client examples.

structures/table

EL_FILLED_STRING_32_TABLE

Table of filled strings of type STRING_32

EL_FILLED_STRING_8_TABLE

Table of filled strings of type STRING_8

Further Information

Click on class link to see client examples.

EL_FILLED_STRING_TABLE

Table of filled strings of type conforming to READABLE_STRING_GENERAL

EL_FILLED_ZSTRING_TABLE

Table of filled strings of type EL_ZSTRING

EL_STRING_HASH_TABLE

Hash table with keys conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_ZSTRING_HASH_TABLE

Zstring hash table

Further Information

Click on class link to see client examples.

substring-array

EL_INDEXABLE_SUBSTRING_32_ARRAY

An object providing fast sequential lookups of character code at a subarray index of an area belonging to an instance of EL_SUBSTRING_32_ARRAY

Further Information

Click on class link to see client examples.

EL_SUBSTRING_32_ARRAY

Array of sequential substrings from an instance of STRING_32 compacted into a single SPECIAL array:

area: SPECIAL [NATURAL]

area [0] contains the substring count: count

area [1] -> area [count * 2] contains a series of count interval specifications [lower, upper]

area [count * 2 + 1] -> area [area.count - 1] contains the combined substring character data

Further Information

Click on class link to see notes and client examples.

EL_SUBSTRING_32_ARRAY_IMPLEMENTATION

Implementation routines for EL_SUBSTRING_32_ARRAY

EL_SUBSTRING_32_ARRAY_ITERATOR

Iterator for EL_SUBSTRING_32_ARRAY

EL_SUBSTRING_32_BUFFER

Temporary fast buffer contents of a EL_SUBSTRING_32_ARRAY

Further Information

Click on class link to see notes and client examples.

EL_SUBSTRING_32_CONTAINER

Abstraction to obtain count of STRING_32 substrings

EL_SUBSTRING_32_LIST

An extendible buffer for creating instances of EL_SUBSTRING_32_ARRAY

Further Information

Click on class link to see client examples.

unescape

EL_STRING_32_UNESCAPER

Unescape unicode strings

Further Information

Click on class link to see client examples.

EL_STRING_8_UNESCAPER

Unescape Latin-1 strings

Further Information

Click on class link to see client examples.

EL_STRING_GENERAL_UNESCAPER

General string unescaper

Further Information

Click on class link to see client examples.