Re: [WebDNA] filter out the exclaimation point
This WebDNA talk-list message is from 2017
It keeps the original formatting.
numero = 113757
interpreted = N
texte = 1352--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiGrep should work fine for this purpose:[text]myVar=3DHello, Bob! You Rock![/text][grep search=3D[url]![/url]&replace=3D][myVar][/grep]Results:Hello, Bob You RockIn what way is it not working for you?- Brian> On Nov 30, 2017, at 3:54 PM, Stuart Tremain
=wrote:>=20> You could use [CONVERTCHARS]Grep this out ![/CONVERTCHARS] you will =need to include ! in StandardConversions.db>=20> Or [CONVERTCHARS db=3D^CustomConversions.db]Grep this out =![/CONVERTCHARS] and then create CustomConversions.db>=20>=20>=20>=20>=20>=20>=20>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@idfk.com.au >=20>=20>=20>=20>=20>=20>> On 1 Dec 2017, at 10:40, Stephen Braun > wrote:>>=20>> Hi all,>>=20>> I need to filter out the exclamation point character out of a =variable.>> I was using grep, but it dosen't work.>>=20>> any suggestions?>>=20>> Thanks a bunch,>> sfb>>=20>>=20>>=20>>=20>> Stephen F Braun>> sbraun1@twcny.rr.com >> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list =talk@webdna.us To unsubscribe, E-mail to: =talk-leave@webdna.us archives: =http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: =support@webdna.us > --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list =talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: =http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: =support@webdna.us--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-asciiGrep should work fine for this purpose:
[text]myVar=3DHello, =Bob! You Rock![/text]
[grep =search=3D[url]![/url]&replace=3D][myVar][/grep]
Results:
Hello, Bob You Rock
In =what way is it not working for you?
- Brian
You could =use [CONVERTCHARS]Grep this out ![/CONVERTCHARS] you will need to =include ! in StandardConversions.db
Or [CONVERTCHARS =db=3D^CustomConversions.db]Grep this out ![/CONVERTCHARS] and then =create CustomConversions.db
Kind regards
Stuart Tremain
Pharoah Lane =Software
AUSTRALIA
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
talk@webdna.usTo unsubscribe, E-mail to:
talk-leave@webdna.usarchives:
http://www.webdna.us/page.dna?numero=3D55Bug Reporting:
support@webdna.us
=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5--.
Associated Messages, from the most recent to the oldest:
1352--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiGrep should work fine for this purpose:[text]myVar=3DHello, Bob! You Rock![/text][grep search=3D[url]![/url]&replace=3D][myVar][/grep]Results:Hello, Bob You RockIn what way is it not working for you?- Brian> On Nov 30, 2017, at 3:54 PM, Stuart Tremain =wrote:>=20> You could use [convertchars]Grep this out ![/CONVERTCHARS] you will =need to include ! in StandardConversions.db>=20> Or [CONVERTCHARS db=3D^CustomConversions.db]Grep this out =![/CONVERTCHARS] and then create CustomConversions.db>=20>=20>=20>=20>=20>=20>=20>=20> Kind regards>=20> Stuart Tremain> Pharoah Lane Software> AUSTRALIA> webdna@idfk.com.au >=20>=20>=20>=20>=20>=20>> On 1 Dec 2017, at 10:40, Stephen Braun > wrote:>>=20>> Hi all,>>=20>> I need to filter out the exclamation point character out of a =variable.>> I was using grep, but it dosen't work.>>=20>> any suggestions?>>=20>> Thanks a bunch,>> sfb>>=20>>=20>>=20>>=20>> Stephen F Braun>> sbraun1@twcny.rr.com >> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list =talk@webdna.us To unsubscribe, E-mail to: =talk-leave@webdna.us archives: =http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: =support@webdna.us > --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list =talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: =http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: =support@webdna.us--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-asciiGrep should work fine for this purpose:
[text]myVar=3DHello, =Bob! You Rock![/text]
[grep =search=3D
[url]![/url]&replace=3D][myVar][/grep]
Results:
Hello, Bob You Rock
In =what way is it not working for you?
- Brian
You could =use
[convertchars]Grep this out ![/CONVERTCHARS] you will need to =include ! in StandardConversions.db
Or [CONVERTCHARS =db=3D^CustomConversions.db]Grep this out ![/CONVERTCHARS] and then =create CustomConversions.db
Kind regards
Stuart Tremain
Pharoah Lane =Software
AUSTRALIA
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
talk@webdna.usTo unsubscribe, E-mail to:
talk-leave@webdna.usarchives:
http://www.webdna.us/page.dna?numero=3D55Bug Reporting:
support@webdna.us
=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--Apple-Mail=_72CA2249-D48C-4151-B211-C855595179D5--.
Brian Fries
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
$Quit, $CloseDatabase corrections (1997)
Questions (1998)
RE: protect tag not working (1998)
Sorting problem (2002)
ShowIf, If, XML Syntax.... (2004)
protect acting looney?? (2003)
[WebDNA] WebDNA 7 (2011)
One more time (1997)
Generating Report Totals (1997)
Single Link browsing (1997)
Location of Webcat site in folder hierarchy (1997)
E-mail loop ! (1997)
Ok here is a question? (1997)
best way to test for the existence of a parameter in a url (2003)
Content-type:... (2000)
Roundup function? (1997)
Almost a there but..bye bye NetCloak (1997)
RE: [taxRate] [TaxTotal] ? (1997)
[WebDNA] eCommerce System Release (2018)
Doesn't change (WebCat 4.0) (2000)