Results 1 to 2 of 2

Thread: substring

  1. #1
    Join Date
    Dec 1969

    Default substring

    I have a output like "hostusername". I want to take the username from this string i.e take everyting after the substring and have it as an input to another form how can I do it....<BR>please let me know thanks......

  2. #2
    Join Date
    Dec 1969

    Default RE: substring

    (1) <BR>username = Mid( fullname, InStrRev(fullname,"\") + 1 )<BR><BR>(2) <BR>temp = Split( fullname, "\" )<BR>username = temp( UBound(temp) )<BR><BR>Several other ways, but those will get you started

Posting Permissions

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