If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Break memo to two columns

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 02:13
dove_g dove_g is offline
Registered User
 
Join Date: Jan 2004
Posts: 30
Break memo to two columns

I have one big memo field, which I would like show on web page in two columns.

How to separate (split) this one memo field into two fields,
String1 and String2.

I would like to split it at my special word, let's say <break>.
When my formula finds <break> word everything before this word move to String1, and everything else move to String2.

Any suggestions, or maybe someone else do that before?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-02-04, 03:41
MrWizard MrWizard is offline
Registered User
 
Join Date: Mar 2003
Location: Atlanta, GA
Posts: 191
Re: Break memo to two columns

strSplit=Split(rs("bigmemo"),"<break>")

then, strSplit(0) contains all the text up to the break... and strSplit(2) contains everything after it.

Tim
__________________
Tim
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On