Gossamer Forum
Home : General : Perl Programming :

Re: [delicia] encoding problem

Quote Reply
Re: [delicia] encoding problem In reply to
Depending on your data, you could use boundary (\b)... so:

Code:
s/\b&//g;

Also, its good practice to escape & - so \& (in case perl tries to run it as a sub)

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 encoding problem delicia 1966 Aug 2, 2021, 2:13 PM
Post Re: [delicia] encoding problem
Andy 1926 Aug 3, 2021, 11:57 PM