SCRIPT MERIDIAN
REGEX PROJECT
 

Regex Home

Download

Documentation

 Regex Verbs
  regex.compile
  regex.easyMatch
  regex.easySearch
  regex.extract
  regex.free
  regex.grep
  regex.init
  regex.join
  regex.match
  regex.quoteRE
  regex.search
  regex.split
  regex.subst
  regex.visit

 MatchInfo Table
 Metacharacters

Pointers

Credits

 

regex.join

Syntax regex.join (exprStr, adrList)
Params exprStr is the item delimiter (string)

adrList is the address of a list.
Action Joins all items in a list, pointed to by adrList, into a delimited string object. exprStr is used as the item delimiter.
Returns String of concatenated list items
Examples local (myList = {"a", "b", "c"})
regex.join ("|", @myList)
    » "a|b|c"
Notes This verb does the opposite of regex.split.
See Also regex.split



 [ Previous ]  [ Next  To the top  

Send questions and comments to regex@lists.scriptmeridian.org.
Page last updated: Thu, 10 Dec 1998 21:58:50 GMT.