Results 1 to 4 of 4

Thread: The " or ' or ???

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Thumbs down

    I'm using the replace function like this

    Replace(String, "size="2">", "")

    But of course that wouldn't work because there are four quotes! What do I do!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    replace them with pairs of quotes:
    Code:
    Replace(String, "size=""2"">", "")
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Addicted Member
    Join Date
    Apr 2000
    Location
    Sheffield, England.
    Posts
    136
    Code:
    Replace(String, "size=" & Chr$(34) & "2" & Chr$(34) & ">", "")
    [Edited by gfk on 11-10-2000 at 08:04 AM]
    Visual Basic 6 Enterprise Edition + SP4

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879
    K thanx
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


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