Viewing 1 post (of 1 total)
  • Author
    Posts
  • #25995

    LTT
    Participant

    Text:
    x
    x

    Run this snippet:
    ${0:${SelText/^/>/g}}

    Result:
    >>>>>>

    ** It replaced each character, including the 2 CrLf.

    I have to use:
    ${0:${SelText/^.*\r/>\0/g}}

    Result:
    >x
    >x

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.