Hi,

I'm trying to check editfield1.text for a Saturday, If it doesn't exist then call a msgbox.

This is as far as I have gotten so far;

  dim re as regex
  dim match as RegExMatch
  dim x as boolean=false
  // editfield1.text="Saturday"
  re=new regex
  re.SearchPattern="Saturday"
  match=re.Search(editfield1.text,1)
  x=match as boolean
  editfield2.text="it's there"
  if not x then
    editfield2.text="not there"
  end

It appears to work up to the boolean. Obviously my book, the help page and I are missing something.

Help?

Robert Poland
[EMAIL PROTECTED]



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to