Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From System.Collections.Generic.IEnumerable to string
Message
De
06/05/2015 08:46:59
 
 
À
06/05/2015 08:43:06
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619437
Message ID:
01619464
Vues:
29
>>As said, for this example use string.Join
>>
>>lcFinal = String.Join(null, loEventLogRecord.KeywordsDisplayNames)
>>
>
>I have a concern about the separator which is not known. So, I am using a For/Each which allows me to get all items without wondering about it. Also, the For/Each allows me to put a separator of my own after in the string I am creating. Not sure if all this is supported with that approach.

I was referring to message#1619440

If you don't want a separator, pass null as the first argument to String.Join() - see above
Otherwise, pass your own separator as the first argument
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform