Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to determine whether there is a newline in a string in DW

Shulou Source: shulou.com Published: 2022-06-02 05:51:28 11月16日 Update

This article shows you how to judge whether there is a new line in a string in DW. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Often copy a piece of HTML code from DW (such as table) to use it as a string, habitually paste it into notepad to replace a double quotation mark with two double quotes, remove the newline character to connect and then copy and paste back into DW, but because you can't directly see whether there is a newline character in this string in notepad, as a result, the program always says "unfinished string constant". You often have to debug several times to remove newline characters: (today, you can see if there are line breaks in the string by chance in the DW code view, so you don't have to debug it again and again.

The above is how to determine whether there is a new line in a string in DW. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Characters strings newline characters intuition code content quotes skills knowledge notepad clean concise concise no two lieutenant general habitual that is constant article Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn Shulou Technology Huawei OPPO Reno