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:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
Sitebuilder - Shownext Style (2004)
re:check boxes (1997)
Replacing entry (1998)
Help! (2000)
emailer setup (1997)
Two options to consider (2008)
[WebDNA] HTTP Streaming - POSSIBLE! (2010)
Quit revisited (1997)
[LOOKUP] (1997)
writing cart to db (1998)
[WebDNA] 301 redirect (2017)
Bug or syntax error on my part? (1997)
Simple way to create unique SKU (1997)
More than one db with the same namn (was: WC2f3) (1997)
RequiredFields notes ... (1997)
passwords not working (2000)
using listfiles to build a database? more (2000)
can WC render sites out? (1997)