function Extract(const S: string): Substring; overload;
Removes the first item equal to S without freeing its object, and returns it.
| # | Name | Description |
|---|---|---|
| 1 | S | The text, every text kind. |
Returns: Substring - The item, read in place; the empty text when no item is equal to S.
Remarks:
The returned Substring reads a short item's characters in place until the next add takes its place; a long item's memory passes to it, so it outlives the list.