User Tools

Site Tools


en:implode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:implode [2016/08/12 12:47]
admin
en:implode [2020/02/28 10:46] (current)
Line 2: Line 2:
  
 ==== Format ==== ==== Format ====
-**implode** ( [[arrays|array]] )\\ +**implode** ( [[arrays|variable[]]] )\\ 
-**implode** ( [[arrays|array]] , //delimiter_expr// )\\ +**implode** ( [[arrays|variable[]]] , [[stringexpressions|delimiter_expression]] )\\ 
-**implode** ( [[arrays|array]] , //row_delimiter////column_delimiter// )\\+**implode** ( [[arrays|variable[]]] , [[stringexpressions|row_delimiter_expression]][[stringexpressions|column_delimiter_expression]] )\\
 **implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] )\\ **implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] )\\
-**implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] , //delimiter_expr// )\\ +**implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] , [[stringexpressions|delimiter_expression]] )\\ 
-**implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] , //row_delimiter////column_delimiter// )\\+**implode** ( [[Lists|{ x1, y1, x2, y2, x3, y3 ... }]] , [[stringexpressions|row_delimiter_expression]][[stringexpressions|column_delimiter_expression]] )\\
 **implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] )\\ **implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] )\\
-**implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] , //delimiter_expr// )\\ +**implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] , [[stringexpressions|delimiter_expression]] )\\ 
-**implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] , //row_delimiter////column_delimiter// )\\+**implode** ( [[Lists|{ {x1, y1}, {x2, y2}, {x3, y3} ... }]] , [[stringexpressions|row_delimiter_expression]][[stringexpressions|column_delimiter_expression]] )\\
  
-returns //[[stringexpressions|string_expression]]+returns [[stringexpressions|string_expression]]
  
 ==== Description ==== ==== Description ====
-Append the elements in an array into a string.  Optionally placing the //delimiter_expr// between the elements.  This is functionally the opposite of the [[Explode|Explode]] function.+Append the elements in an array into a string.  Optionally placing the [[stringexpressions|delimiter_expression]] between the elements.  This is functionally the opposite of the [[Explode|Explode]] function.
  
 ==== Example ==== ==== Example ====
Line 22: Line 22:
 dim b(1) dim b(1)
 a$ = Explode("How now brown cow"," ") a$ = Explode("How now brown cow"," ")
-print implode(a$,"-"+print implode(a$[],"-"
-print implode(a$)+print implode(a$[])
 b = Explode("1,2,3.33,4.44,5.55",",") b = Explode("1,2,3.33,4.44,5.55",",")
-print implode(b,", ") +print implode(b[],", ") 
-print implode(b)+print implode(b[])
 </code> </code>
 will display will display
Line 42: Line 42:
 |0.9.6.57|New to Version| |0.9.6.57|New to Version|
 |1.99.99.55|dimensional delimiters and list support was added| |1.99.99.55|dimensional delimiters and list support was added|
 +|1.99.99.72|added required [] to passing variable array|
  
en/implode.1471027646.txt.gz · Last modified: 2020/02/28 10:46 (external edit)