G
gerards_
Hi all,
What I am trying to do is to String Compare just the first 6 characters
of a string.
For example:
For the compare string "Powama" I want to return true for any strings
that contains these first 6 characters (in order).
So for the following strings the result should be:
Powamaster.exe ---> True
Powama~2.exe -----> True
Powama~11.exe-----> True
notepad.exe ------> False
etc...
It would also be great if it wasn't case sensitive.
I am using this code right now but it compares the whole word:
StrComp(CompareLogProcess, CompareTskProcess, 1) = 0
Any help greatly appreciated (please email me directly or post)
Thanks
Powerguy
What I am trying to do is to String Compare just the first 6 characters
of a string.
For example:
For the compare string "Powama" I want to return true for any strings
that contains these first 6 characters (in order).
So for the following strings the result should be:
Powamaster.exe ---> True
Powama~2.exe -----> True
Powama~11.exe-----> True
notepad.exe ------> False
etc...
It would also be great if it wasn't case sensitive.
I am using this code right now but it compares the whole word:
StrComp(CompareLogProcess, CompareTskProcess, 1) = 0
Any help greatly appreciated (please email me directly or post)
Thanks
Powerguy