Results 1 to 5 of 5

Thread: easy string question

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046

    easy string question

    What is a good way to return all but the first character of a string?

    ie: f(U234)=234 f(U1)=1

    what is a good f ?

    Thanks for any help!

  2. #2
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Halifax,UK
    Posts
    274
    was the double entendre on purpose



    VB Code:
    1. x=mid(y,2)
    VB6 VS2005

  3. #3
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Halifax,UK
    Posts
    274
    but replace x and y with suitable string names
    VB6 VS2005

  4. #4
    Hyperactive Member
    Join Date
    Feb 2001
    Location
    Belgium/Antwerp
    Posts
    275
    sTemp = "f(U234)"
    stemp = right(stemp,len(stemp)-1)

    Greetz, Luc

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    Feb 2001
    Location
    Crossroads
    Posts
    3,046
    Thanks!

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