Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From System.Collections.Generic.IEnumerable to string
Message
From
06/05/2015 08:46:59
 
 
To
06/05/2015 08:43:06
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01619437
Message ID:
01619464
Views:
30
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform