Using Replace Function

Results 1 to 3 of 3

Thread: Using Replace Function

  1. #1
    sunila Guest

    Default Using Replace Function

    How do I use Replace function to replace &#039;Enter&#039; key pressed, by some special character so that the resulted string will be stored in single line in the text file.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Using Replace Function

    str = replace(str,chr(13), chr(254))<BR><BR>or sometimes better<BR><BR>str = replace(str,chr(13), "<BR>")<BR><BR>chr(13) = vb&#039;s &#060;enter&#062;<BR>chr(254) = a character that will proberbly never be entered<BR>

  3. #3
    Mandeep Guest

    Default RE: Using Replace Function

    use replace(string,vbkeyreturn,"")

Posting Permissions

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