locked
Checking if textbox's contain characters RRS feed

  • Question

  • Hello,

     

    How can i check if a textbox contains an "@" symbol and a "." symbol.

     

    I have tried using:

     

    Code Snippet
    if txtsender.contains("@") then...

     

     However i dont think it can be converted to type string.

     

    Thanks,

     

    Mitchell

    Thursday, June 28, 2007 7:46 PM

Answers

  • Done;

     

    Code Snippet

    if txtsender.text.contains("@") = false and txtsender.text.contains(".")=false then

     

     

    Thanks anyway,

     

    sorry

    Thursday, June 28, 2007 7:57 PM