Function: textblob

Syntax

textblob (<strings[ ]> {,<sep>})

Type

blob

Returns

A blob derived from one or more string values.

Parameters

Examples

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')

See Also

Functions:

datablob (blob), fileblob (blob), zeroblob (blob)

Structures:

blob