Announcement

Collapse
No announcement yet.

Replace $CRLF

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scott Turchin
    replied
    Problem solved, I was doing it correclty, but when I wrote the encrypted/decrypted data to disk I was writing the g_sCliptext not the sTmp...


    DOH!




    ------------------
    Scott

    Leave a comment:


  • Scott Turchin
    replied
    I thot it had worked in the past for me too...weird...

    g_sCLipText is equal to this:
    Wednesday, June 27, 2001, At 2:30 PM, by turchinsp on COMPUTERNAME
    Wednesday, June 27, 2001, At 2:31 PM, by turchinsp on COMPUTERNAME

    sTmp = g_sClipText
    Replace $CRLF With "|" In sTmp
    lCount = Tally(sTmp,"|") 'Used as $CRLF since it is encryptable..


    hMMM I'll play wiht it a bit more, I'm having another issue that may be related, may be the cause of my issue...


    Thanks

    ------------------
    Scott

    Leave a comment:


  • Eric Pearson
    replied
    Works fine for me. Maybe you need the ANY option in the REPLACE?

    If that's not it, please post a compilable program that fails.

    -- Eric

    ------------------
    Perfect Sync Development Tools
    Perfect Sync Web Site
    Contact Us: mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    started a topic Replace $CRLF

    Replace $CRLF

    Why does this fail:
    Local sTmp As String
    Replace $CRLF With "|" In sTmp

    But yet Tally(sTmp,$CRLF) returns 2


    The string has two $CRLF's in it...

    Is this a known issue?


    ------------------
    Scott
Working...
X