The easiest way might be to replace ',' with ', ' (note
space). Then it will break naturally.
-----Original Message-----
From: "Alan Snyder"<alans nufrontiers.com>
Sent: 6/27/06 12:06:46 PM
To: "aspnet aspadvice.com"<aspnet aspadvice.com>
Subject: [aspnet] splitting a string into multiple lines
Hello All,
I have a string:
OVEN/RANGE,MICROWAVE,DISHWASHER,REFRIGERATOR,WASHER,DRYER,DI
SPOSAL
That I want split into 2 or 3 lines rather than just one
long string - which
formats the .aspx page incorrectly. Because there are
no spaces in the
string, it won't wrap.
I was looking at the split, left, inStr, etc..
functions, but couldn't find
anything useful.
Does anyone have something in VB.net?
Thanks in advance,
Alan
Alan Snyder
CTO - Technology
office: 847.227.8669
cell: 847.809.0514
alans nufrontiers.com
Nu Frontiers Enterprises, Inc.
344 Comstock Dr.
Elgin, IL 60123
"Top Solutions for Top Producers"
--- List Sponsor ---
ASP & ASP.NET Web Hosting with 3 Months FREE &
FREE Setup!
ASP/.NET Hosting from a Microsoft Gold Partner
supporting ASP.NET 2.0/1.1, ASP, MS SQL 2005/2000 with DBO
Access, Free ASP/.NET Components & more.
Click Here for More Information: http://www.disc
ountasp.net/aspadvice/
[Message truncated. Tap Edit->Mark for Download to get
remaining portion.]
--- List Sponsor ---
ASP & ASP.NET Web Hosting with 3 Months FREE & FREE
Setup!
ASP/.NET Hosting from a Microsoft Gold Partner supporting
ASP.NET 2.0/1.1, ASP, MS SQL 2005/2000 with DBO Access, Free
ASP/.NET Components & more.
Click Here for More Information: http://www.disc
ountasp.net/aspadvice/
|