Remove New Line

This topic contains 2 replies, has 2 voices, and was last updated by  Ziggy 7 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2586

    297chrisc
    Participant

    Hope someone can help.

    I have made a textbox and displaying the text from a string.
    The user can type in this textbox and use backspace, enter etc.

    Everything displays fine, new lines (“~n”) and everything

    But when I try and backspace at the start of a line I cannot get it to delete the “~n” part of the string

    Any suggestions?

    #3310

    297chrisc
    Participant

    Sorted.
    Just needed to remove 2 characters simultaneously from the string.

    #3311

    Ziggy
    Keymaster

    Yes, a new line is usually formed by a carriage return char and a line feed char.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.