15 character limit

Results 1 to 2 of 2

Thread: 15 character limit

  1. #1
    Join Date
    Dec 1969

    Default 15 character limit

    hi all, <BR><BR>i am wondering if there is a way, when extracting data from a database to only show the first say, 15 characters?<BR><BR>something like this:<BR>Yes, i agree that... <BR>(this is all that is displayed and then when the user clicks on the link they view the entire message.)<BR><BR>your help is appreciated.<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Left( RS("fieldName"), 15 )

    Response.Write Left( RS(&quot;fieldName&quot;), 15 )<BR><BR>Go look in the VBS reference manual at all the WONDERFUL string manipulation functions available.<BR><BR>

Posting Permissions

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