Platforms to show: All Mac Windows Linux Cross-Platform

Back to SpamSumMBS class.

SpamSumMBS.Match(sum1 as string, sum2 as string) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Spamsum MBS Util Plugin 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates a percent value representing
Example
dim s as SpamSumMBS
dim t1,t2 as string

s=new SpamSumMBS

t1=S.Spamsum("Hello Welt, wie geht es? Mir geht es manchmal gut.",0,0)
t2=S.Spamsum("Hallo Welt, wie geht es? Mir geht es manchmal gut.",0,0)

MsgBox t1+" "+t2+" "+str(s.Match(t1,t2))
// 17 percent here. This needs longer texts...

Returns a value from 0 (not equal) to 100 (equal).

SpamSumMBS.Spamsum(text as string, flags as Integer, blocksize as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Spamsum MBS Util Plugin 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates a checksum for a given text.

You can specify for flags a combination of FlagsIgnoreWhitespace=1 and FlagsIgnoreHeaders=2.
Blocksize is linked to the length of the checksum. You can try values like 0, 3 or 90 and check what is best for you.
The text strings must be longer than just a few words as they are designed to take whole emails.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...