PatternCountCS(Text;TextToSearchFor)
Rate this function: Average rating: 3.4 (15 votes) Discuss this Custom Function
Christian Jäger, contact: cjaeger @ www.fmforums.com
Hannover, Germany
Same as PositionCS, but without any limitation. Slower!
Sample Input:
| PatternCountCS("aAaAaA";"a") |
|
Sample Output:
|
Description:
see also PositionCS() and PositionCSE().
I have also written an ASCII-Coder:
Num2Char(NUM)
and
Char2Num(CHAR)
which work using the same technique enploying all 256 characters (one Exception: #00 needs to be pasted into a global. It cannot be used in FileMaker 7s calculations nor in a evaluated field without FileMaker crashing. So I just reference the global "NULL" in Num2Char()'s output
However, this cannot be shown here - I will post a sample file at http://www.fmforums.com soon.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
list.intersect (listA; listB) |
| |
(Mon, May 14, 12:43pm) |
| 2. |
WeekStart ( weekOfYear ; year ) |
| |
(Sat, May 12, 8:42am) |
| 3. |
PercentToWords (FIELD) |
| |
(Thu, May 10, 3:16pm) |
| 4. |
PercentToText (FIELD) |
| |
(Thu, May 10, 2:37pm) |
| 5. |
StripReserved( text ) |
| |
(Wed, May 02, 6:05pm) |
| 6. |
ListBaseTables |
| |
(Wed, May 02, 3:48pm) |
| 7. |
ValidEmail( theEmail ) |
| |
(Wed, May 02, 7:27am) |
| 8. |
UltraDate (Text; LongDate_or_DateDigit) |
| |
(Wed, May 02, 6:07am) |
 |
|
I wanted to use this but it doesn't work.
It's missing the second parameter in the replace function. When I put '1' for this, it doesn't work. It seems to give '1' as the result no matter what.
databaser, CA
December 15, 2011 6:26pm