Number of occurrences of a sequence in a string
Syntax
NUMAT( <cStringToMatch>, <cString>, [<nIgnore>] ) --> nCount
i hope help you
best regards,
Luis Vasquez
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jeff,
suggested NumAt() is originated from Cl*pperTools, aka in the Harbour hbct contrib.
And there is a AtNum() along with other very useful functions.
Check here for doc:
http://www.x-hacker.org/ng/tools1-3/index.html
aka 'string manipulation':
http://www.x-hacker.org/ng/tools1-3/ng3b7f6.html
and there AtNum():
http://www.x-hacker.org/ng/tools1-3/ng40378.html
---
and just add:
hbct.hbc
to your hbmk2 command/ .hbp file to link that contrib
best regards
Rolf
... to use the #translate/#command directive to convert AT() references with 3 arguments to NumAt()?
perhaps possible, but i have not all these pre-processor rules right at hand.
You may study yourself here a bit:
https://groups.google.com/d/msg/harbour-users/rBcD9Xp-Vhw/Uxemp5pSsEMJ
---
If you don't already know, i like to point you to also this construction i like to use:
#ifdef __HARBOUR__
// Harbour commands to make something
...
#else
// your VFP commands
...
#endif
but let's wait what Przemek has in mind ;-)
best regards
Rolf