Results 1 to 3 of 3

Thread: Remove characters from a string

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2004
    Location
    Cleveland
    Posts
    148

    Remove characters from a string

    What is the easiest way to remove a character from a string? I tried replace(), but haven't had any luck.

    For example,
    Code:
    replace(mystring," ","") 'is supposed to remove spaces, but does nothing.
    ParadoxResolved

    Go ahead, computer! Give me another Access Violation. . . I dare you!
    Here to chafe

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: Remove characters from a string

    Code:
    MyString = Replace(MyString, " ", "")

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2004
    Location
    Cleveland
    Posts
    148

    Re: Remove characters from a string

    Oh, I see. Thanks!
    ParadoxResolved

    Go ahead, computer! Give me another Access Violation. . . I dare you!
    Here to chafe

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