jmp-l
[Top] [All Lists]

Re: Need JMP formula to count occurrence of a particular

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: Need JMP formula to count occurrence of a particular
From: Pam Davy <pjd@uow.edu.au>
Date: Fri, 22 Apr 2005 12:28:42 +1000
In-reply-to: <OF26A5692F.08ACCCE7-ON86256FEB.00017E01@northamerica.intra.abbott.com>
Organization: University of Wollongong
References: <OF26A5692F.08ACCCE7-ON86256FEB.00017E01@northamerica.intra.abbott.com>
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Sorry, there was a minor bug in my second formula for counting substring occurrences!
The correct versions are

Summation(i = 1, Length( :text), Substr( :text, i, 1) == "{")
Summation(i = 1, Length( :text) - 5, Substr( :text, i, 6) == "C1ccC1")

Pam Davy

<Prev in Thread] Current Thread [Next in Thread>