TRIM(ReplaceNoCase(variable,'SG','','ALL')

or

TRIM(Right(variable,LEN(variable)-2)

> Must....get....more....coffee...
>
> I have a variable passed, ie SG101 or SG 1004
>
> I have to strip the first two characters as those are always constant.  So I
> can't use right() since the numerical portions after the reliable two
> characters may fluctuate in terms of number of characters...what is best
> function to accomplish?
>
> TIA.
>
> Regards,
>
> Eric J. Hoffman
> DataStream Connexion
> www.datastreamconnexion.com
>
>
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to