Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Robert] Plugin to show shorter url / regex problem

Quote Reply
Re: [Robert] Plugin to show shorter url / regex problem In reply to
Whats the aim of the regex? Why slice it up? Wouldn't you be better using substr() to do this? And then length() to find out if its longer than expected, so you can put the ... at the end of it.

Thats how I would do it anyway :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Plugin to show shorter url / regex problem Robert 3957 Sep 11, 2003, 12:47 AM
Thread Re: [Robert] Plugin to show shorter url / regex problem
Andy 3840 Sep 11, 2003, 1:59 AM
Post Re: [Andy] Plugin to show shorter url / regex problem
Robert 3829 Sep 11, 2003, 2:02 AM