silentwolf
Well-known Member
- Joined
- May 14, 2008
- Messages
- 1,216
- Office Version
- 2016
Hi guys,
just wondering if someone help me with this issue.
I need to differentiate between following.
Anyword/Anyword with 124521/12453544
So Anyword can be anyword normally written Properfor example.. Auto/Huber GmbH
And and with Numbers 1234/2356412 those can also be any numbers at any length the same with the letters.
So how do I need to use the wildcards to find Anyword/Anyword and 1234/12457844 both seperated by /
as I need any length of letters befor and after the "/" slash I like to ask if someone knows the correct syntax for this and the same for the Numbers.
It would be much appreciated.
Many thanks.. or is it not possible?
just wondering if someone help me with this issue.
I need to differentiate between following.
Anyword/Anyword with 124521/12453544
So Anyword can be anyword normally written Properfor example.. Auto/Huber GmbH
And and with Numbers 1234/2356412 those can also be any numbers at any length the same with the letters.
So how do I need to use the wildcards to find Anyword/Anyword and 1234/12457844 both seperated by /
Code:
function Test(byval strText as string) as string
dim intPos as integer
Select Case True
Case strText Like "*[a-z]/[a-z]"
intPos=Instr(strText,"/")
case else
end select
as I need any length of letters befor and after the "/" slash I like to ask if someone knows the correct syntax for this and the same for the Numbers.
It would be much appreciated.
Many thanks.. or is it not possible?
Last edited: