Code: Select all
If Inlink.TheString Matches "5N0X5N0X" Then MatchField(InLink.TheString,"5N0X5N0X",3) Else MatchField(InLink.TheString,"0X5N0X",2)This will still fail if the house number is ten or more digits, but I've never encountered any of those!