TextListRemove Method for LCStream
This method removes a string from a text list LCStream object.
The stream must be in the LCSTREAMFMT_TEXT_LIST format.
Defined In
LCStream
Syntax
Call lcStream. TextListRemove (index)
Parameters
Parameter |
Description |
---|---|
index |
Long, in the range 1 to lcStream.Valuecount. The position of the text list element to remove. |
Example
Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim textlist As New LCStream (0, 0, LCSTREAMFMT_TEXT_LIST)
textlist.text = "red, orange, yellow, green, blue, indigo, violet."
Call textlist.TextListRemove (3)
Print "The new value of the text list is " & textlist.text
End Sub
Example Output
The new value of the text list is red, orange, green, blue, indigo, violet.