Description
Extracts substrings, including fields, values, and subvalues, from dynamic binary arrays, using ANSI characters 249 through 255 as delimiters.
Syntax
BRemove variable From string At column Setting flag
Parameters
The BRemove statement has the following parameters.
Parameter | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
variable, string | Variable will contain the substring that is extracted from string. | ||||||||||||||||||
Column | Indicates the starting position of the string to be extracted. It is important to note that the Remove statement changes the column to point to the start of the next substring. The end of the substring occurs when an ANSI character from 249 to 255 is encountered. | ||||||||||||||||||
Flag | Set with the following values, according to the delimiter found:
|
Remove extracts data from a long string faster and more efficiently than does Extract, if doing sequential access through the array.
See also
Example
/* This code segment demonstrates the fastest way to sequentially access each element of a dynamic array. */ dyn_array = "123": @FM: "678": @FM: "ABC" position = 1 flag = "" Loop BRemove current_element From dyn_array At position Setting flag While flag Repeat