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)
 Shortening a string...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

es4725
Junior Member

205 Posts

Posted - 21 May 2002 :  23:59:26  Show Profile
I'm looking around, but I can't find it. Say I have a string that is 300 characters long. What is the function to get rid of everything after the 50th character?
Thanks

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 22 May 2002 :  00:10:54  Show Profile
<%
Response.Write left(strName, 50)
%>

Where strName is your 300 character string.
Go to Top of Page

es4725
Junior Member

205 Posts

Posted - 22 May 2002 :  00:33:02  Show Profile
Thanks richard

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 22 May 2002 :  00:50:27  Show Profile
you are welcome
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.9 seconds. Powered By: Snitz Forums 2000 Version 3.4.07