View Single Post
  #3 (permalink)  
Old March 10th, 2004, 05:08 AM
Braxis Braxis is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Oxford, , United Kingdom.
Posts: 120
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If there's a possibility that the brackets at the end of the string may contain letters, you can make the pattern even more exact by using the following:

Like "*([0-9])"
Like "*([0-9][0-9])"

Where [0-9] means ensure that the character in this position is between 0 and 9.


Brian Skelton
Braxis Computer Services Ltd.
Reply With Quote