Banner showing base of Eiffel tower

Github

Download version 1.4.8: Windows or Linux

Base Library: String Handling

This library cluster has 144 classes.

ECF: base.ecf

Classes providing the following:

Directory: library/base/text/string

. /cursor

. /edit

. /escape

. /escape/support

. /extra

. /helper

. /immutable

. /iterable

. /share

. /special

. /special/encoded

. /structures

. /structures/grid

. /structures/list

. /structures/list/string-32

. /structures/list/string-8

. /structures/list/zstring

. /structures/table

. /substring-array

. /unescape

cursor

EL_IMMUTABLE_STRING_TABLE_CURSOR

Iteration cursor for EL_IMMUTABLE_STRING_TABLE

EL_IMMUTABLE_UTF_8_TABLE_CURSOR

Iteration cursor for EL_IMMUTABLE_UTF_8_TABLE

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_SPLIT_ON_CHARACTER_8_CURSOR

Optimized implementation of EL_SPLIT_ON_CHARACTER_CURSOR [READABLE_STRING_8]

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_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_CURSOR_ROUTINES

Provides access to shared string iteration cursor for general string

EL_STRING_ITERATION_CURSOR

Interface to classes EL_STRING_8_ITERATION_CURSOR and EL_STRING_32_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.

escape

EL_STRING_ESCAPER

String escaper

Further Information

Click on class link to see client examples.

escape/support

EL_ESCAPE_TABLE

Character escape table initializeable by a string like the following example for C language

"%T:=t, %N:=n, \:=\"

Further Information

Click on class link to see client examples.

EL_ESCAPE_TABLES

Escape tables for common data formats

EL_SHARED_ESCAPE_TABLE

Shared instance of EL_ESCAPE_TABLES

Further Information

Click on class link to see client examples.

EL_STRING_32_ESCAPER_IMP

STRING_32 implementation of EL_STRING_ESCAPER_IMP [STRING_GENERAL]

EL_STRING_8_ESCAPER_IMP

STRING_8 implementation of EL_STRING_ESCAPER_IMP [STRING_GENERAL]

EL_STRING_ESCAPER_IMP

String escaper implementation

EL_ZSTRING_ESCAPER_IMP

ZSTRING implementation of EL_STRING_ESCAPER_IMP [STRING_GENERAL]

extra

EL_ITERABLE_SPLIT_FACTORY_ROUTINES

Create optimal EL_ITERABLE_SPLIT instance for READABLE_STRING_GENERAL

EL_READABLE_STRING_GENERAL_ROUTINES

Routines for classes conforming to READABLE_STRING_GENERAL

EL_READABLE_STRING_GENERAL_ROUTINES_IMP

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

Expanded instance of EL_STRING_32_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_STRING_32_ROUTINES_IMP

EL_STRING_X_ROUTINES implemented for READABLE_STRING_32

EL_STRING_8_ROUTINES

Expanded instance of EL_STRING_8_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_STRING_8_ROUTINES_IMP

EL_STRING_X_ROUTINES implemented for READABLE_STRING_8

EL_STRING_GENERAL_ROUTINES

Convert ZSTRING to READABLE_STRING_GENERAL as STRING_32

EL_STRING_X_ROUTINES

Routines to supplement handling of STRING_8 STRING_32 strings

EL_ZSTRING_ROUTINES

Expanded instance of EL_ZSTRING_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_ZSTRING_ROUTINES_IMP

EL_STRING_X_ROUTINES implemented for EL_READABLE_ZSTRING plus a few extra convenience routines

Further Information

Click on class link to see client examples.

helper

EL_APPENDABLE_TO_STRING_GENERAL

Object that can append a text representation of it self to a string conforming to STRING_GENERAL

EL_BOYER_MOORE_SEARCHER_32

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

EL_CASE_COMPARISON

Case comparison

EL_FORMAT_INTEGER

FORMAT_INTEGER with ability to spell numbers in English from 0 to 99

Further Information

Click on class link to see client examples.

EL_STRING_32_BIT_COUNTABLE

EL_STRING_BIT_COUNTABLE applicable to generic class taking a string parameter conforming to READABLE_STRING_32

EL_STRING_8_BIT_COUNTABLE

EL_STRING_BIT_COUNTABLE applicable to generic class taking a string parameter conforming to READABLE_STRING_8

EL_STRING_BIT_COUNTABLE

EL_BIT_COUNTABLE applicable to generic class taking a string parameter conforming to READABLE_STRING_GENERAL

EL_STRING_NODE

Abstraction to set a field conforming to STRING_GENERAL from a document node

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

EL_TYPE_CONVERSION_HANDLER

Allows access to Ctoi_convertor and Ctor_convertor in class READABLE_STRING_GENERAL

immutable

EL_IMMUTABLE_32_MANAGER

Forces shared string data into an instance of IMMUTABLE_STRING_32

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_8_MANAGER

Forces shared string data into an instance of IMMUTABLE_STRING_8

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_STRING_MANAGER

Injects shared string data into an instance of a string conforming to IMMUTABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_SHARED_IMMUTABLE_32_MANAGER

Shared instance of EL_IMMUTABLE_32_MANAGER

Further Information

Click on class link to see client examples.

EL_SHARED_IMMUTABLE_8_MANAGER

Shared instance of EL_IMMUTABLE_8_MANAGER

Further Information

Click on class link to see client examples.

iterable

EL_ITERABLE_SPLIT

Iterable string split with separator of type G

Further Information

Click on class link to see client examples.

EL_SPLIT_IMMUTABLE_STRING_32_ON_CHARACTER

Split target string of type IMMUTABLE_STRING_32 with separator of type CHARACTER_32

EL_SPLIT_IMMUTABLE_STRING_32_ON_CHARACTER_CURSOR

EL_SPLIT_ON_CHARACTER_CURSOR [IMMUTABLE_STRING_32] implemented using shared_substring for item_copy

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_32

Split target string conforming to READABLE_STRING_32 with separator of type CHARACTER_32

EL_SPLIT_ON_CHARACTER_32_CURSOR

Optimized implementation of EL_SPLIT_ON_CHARACTER_CURSOR [READABLE_STRING_32]

EL_SPLIT_ON_CHARACTER_8

Split target string conforming to READABLE_STRING_8 with separator of type CHARACTER_32

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_ZSTRING_ON_CHARACTER_CURSOR

Optimized implementation of EL_SPLIT_ON_CHARACTER_CURSOR [ZSTRING]

Further Information

Click on class link to see client examples.

EL_SPLIT_ZSTRING_ON_STRING_CURSOR

Optimized implementation of EL_SPLIT_ON_STRING_CURSOR [ZSTRING]

share

EL_CASE

Word case constants

Further Information

Click on class link to see client examples.

EL_CHARACTER_32_CONSTANTS

Character constants that be multiplied as a ZSTRING instance with the * operator

Further Information

Click on class link to see client examples.

EL_CHARACTER_8_CONSTANTS

Character constants that be multiplied as a STRING_8 instance with * operator. Use char function for uncommon characters.

Further Information

Click on class link to see client examples.

EL_MODULE_STRING

Shared access to routines of class EL_ZSTRING_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_MODULE_STRING_32

Shared access to routines of class EL_STRING_32_ROUTINES_IMP

EL_MODULE_STRING_8

Shared access to routines of class EL_STRING_8_ROUTINES_IMP

Further Information

Click on class link to see client examples.

EL_SHARED_FILLED_STRING_TABLES

Shared instances of tables conforming to EL_FILLED_STRING_TABLE [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_SHARED_ZSTRING_CURSOR

Shared instance of EL_ZSTRING_ITERATION_CURSOR

EL_STRING_32_CONSTANTS

Constants for class STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_8_CONSTANTS

Constants related to class STRING_8

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.

special

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_STRING_32

Extended STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_8

Extensions for STRING_8

Further Information

Click on class link to see client examples.

special/encoded

EL_ENCODED_STRING_8

A string with a mix of literal characters and characters represented as an escape sequence starting with character escape_character.

EL_URI

Uniform Resource Identifier as defined by RFC 3986

Further Information

Click on class link to see notes and client examples.

EL_URI_PATH_ELEMENT_STRING_8

URL encoded string with unescaped path separator

Further Information

Click on class link to see client examples.

EL_URI_PATH_STRING_8

Encoded location

Further Information

Click on class link to see client examples.

EL_URI_QUERY_STRING_8

URI query (or fragment) string

Further Information

Click on class link to see client examples.

EL_URI_STRING_8

A unicode string percent-encoded according to specification RFC 3986. See: https://en.wikipedia.org/wiki/Percent-encoding

Further Information

Click on class link to see client examples.

EL_URL

Uniform Resource Locator

Further Information

Click on class link to see notes and client examples.

EL_URL_QUERY_STRING_8

URL query string

Further Information

Click on class link to see notes.

EL_UTF_8_STRING

String encoded as UTF-8

Further Information

Click on class link to see client examples.

structures

EL_CACHED_STRING

Cached string

Further Information

Click on class link to see client examples.

EL_OCCURRENCE_INTERVALS

List of all occurrence intervals of a pattern or character in a string conforming to READABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_SPLIT_INTERVALS

List of all split-intervals in a string conforming to READABLE_STRING_GENERAL split by a string or character delimiter.

Further Information

Click on class link to see client examples.

EL_STRING_SPLIT_CONTAINER

Abstraction representing container to be filled with split substrings

structures/grid

EL_IMMUTABLE_STRING_32_GRID

2 dimensional array of IMMUTABLE_STRING_32 strings that share the same comma separated text of a STRING_32 manifest constant

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_STRING_8_GRID

2 dimensional array of IMMUTABLE_STRING_8 strings that share the same comma separated text of a STRING_8 manifest constant

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_STRING_GRID

2 dimensional array of immutable strings that share the same text of a comma separated manifest constant conforming to STRING_GENERAL

structures/list

EL_COMPACT_ZSTRING_ITERATION_CURSOR

Iteration_cursor for EL_COMPACT_ZSTRING_LIST

Further Information

Click on class link to see client examples.

EL_LINEAR_STRINGS

Abstraction for joining strings using routines in EL_LINEAR [S]

EL_LINKED_STRING_LIST

Linked string list

Further Information

Click on class link to see client examples.

EL_OCCURRENCE_EDITOR

Object that edits substring intervals in a string conforming to STRING_GENERAL

EL_SPLIT_IMMUTABLE_STRING_LIST

Splits strings conforming to IMMUTABLE_STRING_GENERAL

Further Information

Click on class link to see client examples.

EL_SPLIT_READABLE_STRING_ITERATION_CURSOR

Iteration_cursor for EL_SPLIT_READABLE_STRING_LIST

EL_SPLIT_READABLE_STRING_LIST

A virtual split-list of strings conforming to READABLE_STRING_GENERAL represented as a 2-dimensional array of substring intervals

Further Information

Click on class link to see notes and client examples.

EL_SPLIT_STRING_ITERATION_CURSOR

Iteration_cursor for EL_SPLIT_READABLE_STRING_LIST

EL_SPLIT_STRING_LIST

A virtual split-list of strings conforming to STRING_GENERAL represented as an array of substring intervals

Further Information

Click on class link to see notes and 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.

structures/list/string-32

EL_SPLIT_IMMUTABLE_STRING_32_LIST

A list of substring index intervals conforming to EL_SPLIT_INTERVALS for a string of type IMMUTABLE_STRING_32

Further Information

Click on class link to see client examples.

EL_SPLIT_STRING_32_LIST

A list of substring index intervals conforming to EL_SPLIT_INTERVALS for a string of type STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_32_LIST

List of strings of type STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_32_OCCURRENCE_EDITOR

Object that edits substring intervals of a STRING_32 instance

Further Information

Click on class link to see client examples.

EL_STRING_32_OCCURRENCE_INTERVALS

OCCURRENCE_INTERVALS optimized for strings conforming to READABLE_STRING_32

EL_STRING_32_SPLIT_INTERVALS

SPLIT_INTERVALS optimized for strings conforming to READABLE_STRING_32

structures/list/string-8

EL_SPLIT_IMMUTABLE_STRING_8_LIST

A list of substring index intervals conforming to EL_SPLIT_INTERVALS for a string of type IMMUTABLE_STRING_8

Further Information

Click on class link to see client examples.

EL_SPLIT_IMMUTABLE_UTF_8_LIST

Split immutable UTF 8 list

Further Information

Click on class link to see client examples.

EL_SPLIT_STRING_8_LIST

A list of substring index intervals conforming to EL_SPLIT_INTERVALS for a string of type STRING_8

Further Information

Click on class link to see client examples.

EL_STRING_8_LIST

List of strings of type STRING_8

Further Information

Click on class link to see client examples.

EL_STRING_8_OCCURRENCE_EDITOR

Object that edits substring intervals of a STRING_8 instance

Further Information

Click on class link to see client examples.

EL_STRING_8_OCCURRENCE_INTERVALS

EL_OCCURRENCE_INTERVALS optimized for strings conforming to READABLE_STRING_8

EL_STRING_8_SPLIT_INTERVALS

EL_SPLIT_INTERVALS optimized for strings conforming to READABLE_STRING_8

structures/list/zstring

EL_COMPACT_ZSTRING_LIST

Memory efficient list of ZSTRING with character data stored as a single UTF-8 encoding instance of IMMUTABLE_STRING_8 using class EL_SPLIT_IMMUTABLE_UTF_8_LIST

Further Information

Click on class link to see client examples.

EL_SPLIT_ZSTRING_LIST

A list of substring index intervals conforming to EL_SPLIT_INTERVALS for a string of type ZSTRING

Further Information

Click on class link to see client examples.

EL_ZSTRING_LIST

List of strings of type ZSTRING

Further Information

Click on class link to see client examples.

EL_ZSTRING_OCCURRENCE_EDITOR

Object that edits substring intervals of a ZSTRING instance

Further Information

Click on class link to see client examples.

EL_ZSTRING_OCCURRENCE_INTERVALS

EL_OCCURRENCE_INTERVALS optimized for strings of type ZSTRING

EL_ZSTRING_SPLIT_INTERVALS

EL_SPLIT_INTERVALS optimized for strings of type ZSTRING

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

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_IMMUTABLE_STRING_32_TABLE

Implementation of EL_IMMUTABLE_STRING_TABLE for keys and virtual items of type IMMUTABLE_STRING_32 and initialized by a manifest string of type STRING_32

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_STRING_8_TABLE

Implementation of EL_IMMUTABLE_STRING_TABLE for keys and virtual items of type IMMUTABLE_STRING_8 and initialized by a manifest string of type STRING_8

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_STRING_TABLE

A table mapping keys conforming to type IMMUTABLE_STRING_GENERAL to virtual items of the same type. The table with all the keys and items uses a shared character area. The looked up items are virtual because they are created on demand from a compact interval of type INTEGER_64.

Further Information

Click on class link to see client examples.

EL_IMMUTABLE_UTF_8_TABLE

Compact string table with items encoded as shared UTF-8 created from table manifest formatted as:

key_1:
   line 1..
   line 2..
key_2:
   line 1..
   line 2..
..

The keys must be lowercase Eiffel identifiers.

Further Information

Click on class link to see client examples.

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

Hash table with ZSTRING as lookup key

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 strings conforming to READABLE_STRING_32

Further Information

Click on class link to see client examples.

EL_STRING_8_UNESCAPER

Unescape strings conforming to READABLE_STRING_8

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.