Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 displaying partial field
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

skylar
Starting Member

23 Posts

Posted - 19 April 2001 :  06:10:53  Show Profile
is there a way of saying if myField has more than 20 characters, to display JUST the first 20 followed by "..."?

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 19 April 2001 :  06:37:47  Show Profile  Visit Gremlin's Homepage
In VBScript

MyField = Left(MyField,20) & "....."

Takes the leftmost 20 charaters, truncates, and adds "...."

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07