Displaying Text?

Results 1 to 2 of 2

Thread: Displaying Text?

  1. #1
    JJB Guest

    Default Displaying Text?

    Just a quick one which, if someone can point me in the right direction.<BR><BR>I am retrieving some text from a field in my database but I only want to display the first 30 words.<BR><BR>How would I do this?<BR><BR>Help is greatly appreciated.<BR>

  2. #2
    Join Date
    Dec 1969

    Default Hmmm...

    Never had a reason to this myself but I suppose you could use Split and use a space a delimiter.<BR><BR> dim myArray()<BR><BR> myArray = Split(mydbstring," ")<BR><BR> response.write myArray(1)<BR> response.write myArray(2)<BR><BR> There may be better ways to do this...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts