so
? occurs('#',myfield)
that works! thanks lutz. simple when you know.
k
>>I need a code to count the number of times a symbol # occurs in a field (myfield)
>>
>>so if the field reads #23#45#53
>>the result would be 3
>>
>>thanks - I don't know where to begin on this one.
>>
>>k
>most simple
>
>?occurs('#','#23#45#53')
>
>
>There are other ways too