Whoops sorry, correction

<a href="#YourURL#">#Left(YourURL, 20)#<cfif len(yourURL) gt
20>...</cfif></a>

Ferg


-----Original Message-----
From: Ferguson, Ken 
Sent: Thursday, June 27, 2002 10:33 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Shortening a String


<a href="#YourURL#">#Left(YourURL, 20)#</a><cfif len(yourURL) gt
20>...</cfif>

Ferg


-----Original Message-----
From: Eli Sanders [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, June 27, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: RE: Shortening a String


<a href="#YourURL#">#Left(YourURL, 20)#</a>

-----Original Message-----
From: Jacob McKee [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 10:19 AM
To: [EMAIL PROTECTED]
Subject: Shortening a String


All,

I am outputting URLs, and some of them can get quite long. I am
trying to figure out how to truncate the URL so that it displays,
say, 20 characters from the left, and then ends in "..."

Can anyone help me out?

Thanks!
Jake


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to