|
|
Determine the proper ordinal suffix for a number. For example, the suffix for 23 is "rd", for 24 is "th", etc.
The number with its suffix, e.g. 17th.
<cfx_kmMisc F=NumberWithSuffix V=variable SHOW
VALUE=number >
| Attribute | Description | Required? |
| VALUE | Any number. | YES |
| Examples | |
|
<cfx_kmMisc F=NumberWithSuffix NUM=523>
|
|
| Result: |
523rd |
Path with trailing slash.
<cfx_kmMisc F=PathAddSlash V=variable SHOW
PATH=file-path >
| Attribute | Description | Required? |
| PATH | A path string. | YES |
| Examples | |
|
<cfx_kmMisc F=PathAddSlash PATH="c:">
<cfx_kmMisc F=PathAddSlash PATH="c:\pathname"> <cfx_kmMisc F=PathAddSlash PATH="c:\pathname\"> |
|
| Result: |
c: c:\pathname\ c:\pathname\ |
Combined path.
<cfx_kmMisc F=PathCombinePieces V=variable SHOW
PATH1=path-part1
PATH2=file-part2 >
| Attribute | Description | Required? |
| PATH1 | The first path string. | YES |
| PATH2 | The second path string. | YES |
| Examples | |
|
<cfx_kmMisc F=PathCombinePieces PATH1="c:\pathname"
PATH2="filename.ext"> <cfx_kmMisc F=PathCombinePieces PATH1="c:" PATH2="pathname\filename.ext"> |
|
| Result: |
c:\pathname\filename.ext c:pathname\filename.ext |
Path name in Unix format.
<cfx_kmMisc F=PathDosToUnix V=variable SHOW
PATH=dos-path >
| Attribute | Description | Required? |
| PATH | DOS path string. | YES |
| Examples | |
|
<cfx_kmMisc F=PathDosToUnix PATH="c:\pathname\filename.ext">
|
|
| Result: |
c:/pathname/filename.ext |
Yes=Path is absolute No=Path is relative.
<cfx_kmMisc F=PathIsAbsolute V=variable SHOW
PATH=path >
| Attribute | Description | Required? |
| PATH | A path string. | YES |
| Examples | |
|
<cfx_kmMisc F=PathIsAbsolute PATH="c:\pathname\filename.ext">
<cfx_kmMisc F=PathIsAbsolute PATH="pathname\filename.ext"> |
|
| Result: |
YES NO |
Path name in DOS format.
<cfx_kmMisc F=PathUnixToDos V=variable SHOW
PATH=unix-path >
| Attribute | Description | Required? |
| PATH | Unix path string. | YES |
| Examples | |
|
<cfx_kmMisc F=PathUnixToDos PATH="c:/pathname/filename.ext">
|
|
| Result: |
c:\pathname\filename.ext |
Roman numerals.
<cfx_kmMisc F=RomanNumerals V=variable SHOW
VALUE=number >
| Attribute | Description | Required? |
| VALUE | Any number. | YES |
| Examples | |
|
<cfx_kmMisc F=RomanNumerals VALUE=1997>
<cfx_kmMisc F=RomanNumerals VALUE=2000> |
|
| Result: |
MCMXCVII MM |
Numeric similarity value, from 0 to 100. 100 represents an absolute match. 0 indicates that there were no letters in common between the two values.
<cfx_kmMisc F=Similarity V=variable SHOW
VALUE1=text
VALUE2=text >
| Attribute | Description | Required? |
| VALUE1 | Text string 1. | YES |
| VALUE2 | Text string 2. | YES |
| Examples | |
|
<cfx_kmMisc F=Similarity VALUE1="Judson" VALUE2="Johnson">
<cfx_kmMisc F=Similarity VALUE1="Jonsen" VALUE2="Johnson"> |
|
| Result: |
62 77 |
Numeric Soundex value.
<cfx_kmMisc F=Soundex V=variable SHOW
VALUE=text >
| Attribute | Description | Required? |
| VALUE | Any text value. | YES |
| Examples | |
|
<cfx_kmMisc F=Soundex VALUE="Judson">
<cfx_kmMisc F=Soundex VALUE="Jonsen"> <cfx_kmMisc F=Soundex VALUE="Johnson"> |
|
| Result: |
892482378 892482890 892482890 |
List of state abbreviations.
<cfx_kmMisc F=StateAbbreviations V=variable SHOW >
| Attribute | Description | Required? |
| no additional attributes | ||
State name.
<cfx_kmMisc F=StateFromAbbrev V=variable SHOW
VALUE=text >
| Attribute | Description | Required? |
| VALUE | State abbreviation. | YES |
| Examples | |
|
<cfx_kmMisc F=StateFromAbbrev VALUE="ND">
<cfx_kmMisc F=StateFromAbbrev VALUE="VI"> <cfx_kmMisc F=StateFromAbbrev VALUE="DC"> |
|
| Result: |
North Dakota Virgin Islands District of Columbia |
List of state names.
<cfx_kmMisc F=StateNames V=variable SHOW >
| Attribute | Description | Required? |
| no additional attributes | ||
State abbreviation.
<cfx_kmMisc F=StateToAbbrev V=variable SHOW
VALUE=state-name >
| Attribute | Description | Required? |
| VALUE | Desired state name. If state is misspelled, a "guess" is made. | YES |
| Examples | |
|
<cfx_kmMisc F=StateToAbbrev VALUE="Minnasoda">
|
|
| Result: |
MN |
|
<cfx_kmMisc F=StateToAbbrev VALUE="dullawhere">
<cfx_kmMisc F=StateToAbbrev VALUE="dellawhere"> <cfx_kmMisc F=StateToAbbrev VALUE="delewere"> |
|
| Result: |
?? ?? DE |