Difference between revisions of "IMPLODE()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
{{YLM to do}}
+
==Purpose==
 +
Function to return a string from the elements of an array
 +
 
 +
 
 +
==Syntax==
 +
IMPLODE(<expC>, <array>)
 +
 
 +
 
 +
==See Also==
 +
[[AADD()]], [[AAVERAGE()]], [[ABROWSE()]], [[ACHOICE()]], [[ACOL()]], [[ACOPY()]], [[ADEL()]], [[ADESC()]], [[ADIR()]], [[AELEMENT()]], [[AFIELDS()]], [[AFILL()]], [[AINS()]], [[ALEN()]], [[AMAX()]], [[AMIN()]], [[APPEND FROM ARRAY]], [[AROW()]], [[ARRAY()]], [[ASCAN()]], [[ASIZE()]], [[ASORT()]], [[ASTORE()]], [[ASTRING()]], [[ASUBSCRIPT()]], [[ASUM()]], [[COPY TO ARRAY]], [[DECLARE]], [[DIMENSION]], [[EXPLODE()]], [[GATHER]], [[IN_ARRAY()]], [[LOCAL]], [[MENU AT]], [[MENU BROWSE]], [[MENU FIELDS]], [[MENU FILES]], [[MENU FROM]], [[MENUITEM()]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[SCATTER]]
 +
 
 +
 
 +
==Description==
 +
The IMPLODE() function reads the array <array> and returns the elements as a character string.  The elements are separated by the character string, <expC>.
 +
 
 +
 
 +
==Example==
 +
<code lang="recital">
 +
menu fields select "+"
 +
aMenu = explode("+", menuitem())
 +
backtostring = implode("+", aMenu)
 +
</code>
 +
 
 +
 
 +
==Products==
 +
Recital, Recital Server
 +
[[Category:Documentation]]
 +
[[Category:Functions]]
 +
[[Category:Array Processing]]
 +
[[Category:Array Processing Functions]]
 +
[[Category:String Data]]
 +
[[Category:String Data Functions]]

Latest revision as of 11:53, 16 February 2010

Purpose

Function to return a string from the elements of an array


Syntax

IMPLODE(<expC>, <array>)


See Also

AADD(), AAVERAGE(), ABROWSE(), ACHOICE(), ACOL(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, AROW(), ARRAY(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, EXPLODE(), GATHER, IN_ARRAY(), LOCAL, MENU AT, MENU BROWSE, MENU FIELDS, MENU FILES, MENU FROM, MENUITEM(), PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, SCATTER


Description

The IMPLODE() function reads the array <array> and returns the elements as a character string. The elements are separated by the character string, <expC>.


Example

menu fields select "+"
aMenu = explode("+", menuitem())
backtostring = implode("+", aMenu)


Products

Recital, Recital Server