Interogating a string within a Macro
data = "abhhsctdshhd"
MsgBox InStr(data, "ct")
Regards,
Greg
"Brian Young" wrote:
If I have a string called data that contains, for example, 12 characters how
can I find teh position of two charactors within it.
e.g the string is :
abhhsctdshhd
how can I find the position of 'ct' within it ?
any suggestions appreciated.
brian
|