Difference between revisions of "IMPLODE()"

From Lianjapedia
Jump to: navigation, search
 
Line 22: Line 22:
 
[[Category:Array Processing Functions]]
 
[[Category:Array Processing Functions]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Latest revision as of 07:22, 10 December 2012

Purpose

Function to return a string from the elements of an array

Syntax

IMPLODE(<expC>, <array>)

See Also

AADD(), AAVERAGE(), ACOPY(), ADEL(), ADESC(), ADIR(), AELEMENT(), AFIELDS(), AFILL(), AINS(), ALEN(), AMAX(), AMIN(), APPEND FROM ARRAY, ARRAY(), ASCAN(), ASIZE(), ASORT(), ASTORE(), ASTRING(), ASUBSCRIPT(), ASUM(), COPY TO ARRAY, DECLARE, DIMENSION, EXPLODE(), GATHER, IN_ARRAY(), LOCAL, 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)