Loading ...
Sorry, an error occurred while loading the content.

Re: [Clip] Removing ^p from a variable

Expand Messages
  • rpdooling
    Lotta, Just found this after banging my head for two hours with the same problem. Some kind of invisible CR coming in with ^$GetDosOutput()$. This fixed it.
    Message 1 of 3 , Jan 23, 2006
    • 0 Attachment
      Lotta,

      Just found this after banging my head for two hours with the same
      problem. Some kind of invisible CR coming in with ^$GetDosOutput()$.
      This fixed it. Thank you!

      rpd

      --- In ntb-clips@yahoogroups.com, loro <loro-spam01-@t...> wrote:
      >
      > dvdwriters12 wrote:
      > >How can I perform the same thing as doing:
      >
      > >^!Toolbar Join Lines
      >
      > >but I want to perform it on a variable:
      >
      > >^!Set %dellf%=^?{(T=M;H=5)copy and paste code}
      >
      > >Bascially I want to remove linefeeds / wrapping characters from what I
      > >get.
      >
      > Take a look at $StrReplace(). I think it is what you want. Something
      like so:
      >
      > ^!Set %dellf%=^?{(T=M;H=5)copy and paste code}
      > ^!Set %dellf%=^$StrReplace("^p";"";"^%dellf%";0;0)$
      > ^!Info ^%dellf%
      >
      > HTH
      > Lotta
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.