Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count occurrences
Message
From
05/03/2015 02:37:14
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/03/2015 02:35:37
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:
01616258
Views:
68
This message has been marked as the solution to the initial question of the thread.
>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
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform