|
-
Jun 11th, 2004, 06:12 PM
#1
simple -> how can I convert a multiline string to an array
I have a string with a bunch of "new line" characters. I want each line to be an element of a string array. I dunno what I'm doing wrong but it doesnt work too well with String.Split
I'm doign this:
String.Split (Environment.NewLine.ToCharArray());
every other element of the array appears to be blank (""). what's the right way?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|