Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    44

    Unanswered: Type Mismatch - Substring

    Hi, i don't know why i got an error for this

    Code:
    SubRecipient = Substring(emptyRecArr,10)
    I got an error, Type Mismatch : Substring


    Hope some1 can help mi. Thanx

  2. #2
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    That's because Substring() isn't actually a VBScript function.

    And here is a list of functions:

    Visual Basic Scripting Edition Functions
    http://msdn.microsoft.com/library/de...7f5a41f8b9.asp
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

  3. #3
    Join Date
    Jan 2006
    Posts
    44
    Thanx for ur reply..

    I used 'Mid' in the end..

  4. #4
    Join Date
    Jun 2003
    Location
    USA
    Posts
    1,032
    Yes, that's a good, versatile function.
    J. Paul Schmidt, Freelance Web and Database Developer
    www.Bullschmidt.com
    Access Database Sample, Web Database Sample, ASP Design Tips

Posting Permissions

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