Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count occurrences
Message
From
05/03/2015 02:44:14
 
 
To
05/03/2015 02:37:14
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01616257
Message ID:
01616259
Views:
47
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform