Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent to VBs join function
Message
De
12/07/2001 09:45:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
12/07/2001 09:30:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00529650
Message ID:
00529668
Vues:
8
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform