Results 1 to 3 of 3

Thread: detecting and add \

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208
    How can I check if the last char of a TEXTBOX is \
    to find like
    if text1 = "c:\windows" then
    text1= "c:\windows\"
    end if

  2. #2
    Guest
    Here you go:

    Code:
    If Right$(Text1.Text, 1) = "\" Then
    MsgBox "\ = found"
    Else
    MsgBox "\ = not found"
    End If

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2000
    Posts
    208
    than'x a lot..
    :0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width