Results 1 to 3 of 3

Thread: [RESOLVED] .StartsWith Function?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Resolved [RESOLVED] .StartsWith Function?

    Hi all,

    I know in vb.net you can use this function to check the beginning part of a string

    Code:
    If myString.StartsWith("SOMETHING") Then
    How can you do something like this is .vbs? Any help would greatly be appreciated. Thanks!

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: .StartsWith Function?

    If (Left(myString, 9) = "SOMETHING") Then

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2006
    Posts
    250

    Re: .StartsWith Function?

    works great. Thank you!

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