New string operators coming


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on April 18, 2008 at 14:58:08: Uploaded files: 1

I have been working on implementing two new string operators for comet 2007 and comet 2008. They are:

if a$ soundslike b$ .....
and
if a$ contains b$ ....

Soundslike uses the soundex algorithm as specified in Knuth vol 3. I have attached an IBS program to this post that demonstrates this function. Basically Soundslike makes 2 soundex digests and compares them. If the digests are identical, soundslike results is a true condition.

Contains is basically like a case insensitive pos function it results in a true state if the first string contains the second. It is NOT case sensitive though.

I realize that these 2 string operators could be coded in IBS, but it is SO much more convenient to just make them part of an expression.

They will be available in the 389 release.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]