2011-12-14 56 views
1

我有2個字符串作爲示例,並且想要查看兩個字符串的TEXT是否都是EXACT。如果STRING不匹配,應顯示哪些字符串是STRING或缺少的句子原始字符串。使用jQuery或PHP的文本比較

jQuery中有可能嗎?任何代碼?

我試圖用大量的在線文本比較工具,但沒有人說,以下字符串是準確的,並沒有什麼區別,需要忽略段落

文本1

In this chapter, you learn some real time-savers. If you are tired of defining 
the same layers, along with units, grid, snap, and ltscale, for each new 
drawing, read on. You are about to learn how to create your own template 
drawings. With templates, you can begin each new drawing with setups 
you have defined and saved in previous MEMA sessions, or with a 
variety of predefined setups included in the software. 
In addition, you learn to reshape the grid using the LIMITS command 
and to copy, move, and array objects on the screen so that you 
do not have to draw the same thing twice. We begin with the LIMITS 
command, because we want to change the limits as part of defining 
your first template. 

文本2

In this chapter, you learn some real time-savers. If you are tired of defining the same layers, along with units, grid, snap, and ltscale, for each new drawing, read on. You are about to learn how to create your own template drawings. With templates, you can begin each new drawing with setups you have defined and saved in previous MEMA sessions, or with a variety of predefined setups included in the software. 
In addition, you learn to reshape the grid using the LIMITS command and to copy, move, and array objects on the screen so that you do not have to draw the same thing twice. We begin with the LIMITS command, because we want to change the limits as part of defining your first template.** 
+0

`下面的字符串是確切的```沒有區別`...但是'需要忽略段落等`。這是什麼?什麼是「等」?編寫_thorough_和_precise_問題規範。 – 2011-12-14 11:16:42

+0

是的,但沒有一個在線工具表示它的內容相同 – user580950 2011-12-14 11:26:50

回答