Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent to VBs join function
Message
From
12/07/2001 09:45:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/07/2001 09:30:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00529650
Message ID:
00529668
Views:
7
The array has to be sent by reference: MyJoinFunction(@MyArray, ",")

Hilmar

>I know of no such function. You would have to write one. It would be a fairly simple loop.
>
>Hilmar.
>
>>I know that we now have the split function by giving some additional params in ALINES Function. But is there a join Function in VFP? Here is the definition in VBA:
>>-----------------
>>Join(sourcearray[, delimiter])
>>
>>The Join function syntax has these named arguments:
>>
>>sourcearray
>>Required. One-dimensional array containing substrings to be joined.
>>
>>delimiter
>>String character used to separate the substrings in the returned string. If omitted, the space character is used. If delimiter is a zero-length string , all items in the list are concatenated with no delimiters
>>-----------------------------------
>>
>>Thank you for you response
>>Dimitris
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform