Info-Mac Archive Downloads: dev/card/ Hypercard

Back to dev/card/ Hypercard

StripChar. XFCN. HyperCard & SuperCard (strip-char-xfcn.hqx)

Download strip-char-xfcn.hqx (18,668 KB)


From: parnassien@netins.net (Tracy L. Hinshaw)
Subject: StripChar. XFCN. HyperCard & SuperCard

Copyright © 1/96 Tracy L. Hinshaw

Here is a handy xfcn that removes all instances of a given character from
any valid HyperCard/Supercard container or field. If the optional third
parameter is set, StripChar replaces the instances of the "CharToStrip"
with the new one.

This is handy whenever you want to convert delimited data to a different
formt, when you need to control user input (i.e.: Strip colons, commas,
diacriticals, carriage returns from a response) or when you just want to
get rid of an annoying character for whatever reason.

StripChar will work with containers up to 30000 chars in size. It may
work with containers larger than that but, to tell the truth, I've never
tried it.

StripChar is provided as "AnyWare." That is, if you use it, please let me
know by sending "Anything" you have cluttering up your desktop: a poem
you've written, a picture of your dog, a program you've developed, money, a
postcard from your hometown etc. - just something to let me know that my
programs are being used and that they're not gathering cyberdust in a
virtual warehouse somewhere.

Any commercial use of StripChar must be licensed and approved by the author.

Send treasures to:
Tracy L. Hinshaw
Parnassien Language Software
P.O. Box 142
Kellogg, IA 50135

parnassien@netins.net
http://www.netins.net/showcase/fornlngz/card/parnassien_externals.html