BlackBox Component Builder
Download  Extensions  GitHub  Chat  Wiki  Forum  Support 

Strings

Facilities to work with strings.
Details:

DEFINITION StringsDyn;

TYPE
DynString = POINTER TO RECORD
(ds: DynString) AddChar (ch: CHAR), NEW;
(ds: DynString) AddString (str: ARRAY OF CHAR), NEW;
(ds: DynString) Char (idx: INTEGER): CHAR, NEW;
(ds: DynString) Clear, NEW;
(ds: DynString) Length (): INTEGER, NEW;
(ds: DynString) PartAsString (from, to: INTEGER): String, NEW;
(ds: DynString) SetLength (len: INTEGER), NEW;
(ds: DynString) String (): String, NEW
END;

String = POINTER TO ARRAY OF CHAR;

PROCEDURE Create (str: ARRAY OF CHAR): DynString;

END StringsDyn.

License: BSD 2-clause

Download Open (2021-08-02 18:32:05 md5sum)
previous versions ↓
Authors: Ivan N. Goryachev, Peter M. Kushnir
Published by: Ivan Denisov
Category:
2.0 compatible
Tools
Русский English

Authorization

Publish your extensions for
BlackBox Component Builder.

Sign up
Username:

Password:

remember me