Search
Tutorials
How TOs
Home
Top Tutorials
HOW TOs
Presentations
Web Services
Cheat Sheets
About Me
Contact Me
Categories
ASP.NET
Visual C#
Visual Basic
.NET Framework
ADO.NET
AJAX
LINQ
Java
How To Rating
0.0
out of 5
Total Votes:
0
1
2
3
4
5
Saving...
Amazon.co.uk Widgets
How to Join multiple strings into a single Delimited String
Author:
Waqas Anwar
-
Posted Date:
16-July-2009
-
Category:
.NET Framework
If you have an array of Strings in your program and you want to join all the elements into a single delimited string you can use Join method of String class as follows:
string[] numbers = { "255", "10", "10", "70"};
string ip = String.
Join
(".", numbers);
Console.WriteLine(ip); // will output 255.10.10.70
RELATED HOW TOs
How to Split a Delimited String in .NET
How to convert a string into bytes array in .NET
LEAVE YOUR COMMENTS
Name (
required
)
Email (
required
)
Website
Categories
ASP.NET
Visual C#
Visual Basic
.NET Framework
ADO.NET
AJAX
LINQ
Java
My Portfolio
My Portfolio Summary
Teaching and Training Experience
Speaking Accomplishments
Work Experience
Professional Skillset
Industry Honors and Awards
Educational Background
My Projects
Personal Information
Website Links
Programming HOW TOs
My Presentations
Free XML Web Services
Cheat Sheets
.NET Code Converter
.NET Framework Class Browser
About EzzyLearning
Advertise With Us
Subscribe to RSS Feeds
Copyright @ 2009 EzzyLearning.com