textblob (<strings[ ]> {,<sep>})
blob
A blob derived from one or more string values.
<strings>
The string value(s) with which to initialize the blob.
All characters (multi-byte if necessary) are copied
to the blob byte-for-byte. This can be an array of strings in which case
all strings are concatenated, separated by a <sep>.
<sep>
A string separator to be appended to every string value copied. If omitted,
an empty string (i.e. no separator) is used.
Create a blob from a literal string value.
blob b = textblob('<mydata>My Text</mydata>\n')
The resulting blob will have length 25.
Create a blob from a series of strings, and separate them by a line feed character.
string mys[] dir *.dat,-os=mys;# Find all .dat files blob b = textblob(mys,'\n')
Functions: |
|
Structures: |