If you downloaded this you would have saw them in the help files.
Here is a few commands from the help files.
SF Mixedcase
SF Mixedcase
This will convert the string into mixed case representation of the string.
Syntax
Return String = SF Mixedcase( String, Mode Boolean)
Parameters
String
The string to convert.
Mode Boolean
If the value is 0, this will convert the first letter of every word to a uppercase letter. If the value is 1, this will convert the first letter after every period. (".")
Returns
Returns a mixed case string representation of the string.
Description
This will convert the string into mixed case representation of the string. Mode 1 should be used when the string should be in a sentence format.
Example Code
Print SF MixedCase("pie is good. PIZZA IS BETTER.",1)
Print SF MixedCase("SET OBJECT POSITION",0)
Wait Key
See also
String Functions Index
Main Menu
SF EditDistance
SF EditDistance
This check the similarity between two strings.
Syntax
Return Integer = SF EditDistance( String, String )
Parameters
String
The string to compare.
Returns
Returns a integer value on how similar the strings are. Lower the value, the closer they are to being the same string.
Description
This check the similarity between two strings.
Example Code
Print SF EditDistance("Saturday","Sunday")
Print SF EditDistance("Load Object","Load Image")
Wait Key
See also
String Functions Index
Main Menu
SF Is_Digit
SF Is_Digit
Checks to see if the character is a decimal digit.
Syntax
Return Integer = SF Is_Digit( String, Integer )
Parameters
String
The source string to check.
Integer
The position in the string to check.
Returns
Returns 1 if the character is a decimal digit. Returns 0 if the character is not a decimal digit.
Returns -1 if the position is less than the length of the string. Returns -2 if the position is greater than the length of the string.
Description
Checks to see if the character is a decimal digit. (0-9)
Example Code
String$ = "U.S. National debt is over $14,600,000,000,000"
For X = 1 To Len(String$)
If SF Is_Digit(String$,X) = 1
Inc Digit_Count
Else
Inc Non_Digit_Count
EndIf
Next X
Print "String evaluated = " + String$
Print
Print "This string has " + Str$(Digit_Count) + " digit characters."
Print "Non digit characters = " + Str$(Non_Digit_Count)
Wait Key
See also
String Functions Index
Main Menu