Results 1 to 11 of 11

Thread: Manipulating String (Resolved)

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214

    Manipulating String (Resolved)

    VB Code:
    1. Dim strRecievedMessage as String
    2. For i = 1 To Len(strMessage)
    3.     strRecievedMessage = strRecievedMessage & (Chr(Asc(Mid(strMessage, i, 1)) - 10))
    4. Next i

    This gives me runtime error '5', Invalid Procedure Call or Argument. It just moves the ASCII value down 10, what is the problem?
    Last edited by jeb2022; May 3rd, 2004 at 07:49 PM.

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