Xbasic
WORD_REMOVE Function
Syntax
New_List as C = word_remove(C cString ,N nWord [,C cDelimiter ])
Arguments
- cString
A CR-LF delimited list of words or entries.
- nWord
The number of the word or entry to remove. Numeric
- cDelimiter
Character
Returns
- New_ListCharacter
The modified list.
Description
Removes the word on a specific line from a list.
Discussion
The WORD_REMOVE() function removes the word indicated by position from a CR-LF delimited list.
Example
dim s as C s = <<%a% bird cow chicken goat %a% ? word_remove(s, 6) = bird cow chicken goat ? word_remove(s, 2) = bird chicken goat
See Also