得到一個特定的詞的計數我有一個名爲C:\User\abc\Desktop\Mtmlog.txt
文件並對其內容的如何從一個文件
1 [email protected]:01:46:44:902 [email protected]:04:08:00:233
1 [email protected]:02:40:44:908 [email protected]:03:08:00:293
1 [email protected]:05:50:44:978 [email protected]:06:08:00:263
1 [email protected]:09:45:44:103 [email protected]:10:08:00:283
還有就是向下和向上的時間在該文件中指出的應用程序。
爲了檢查應用程序的連續性,我想要一個查詢來檢查向下計數是否等於向上計數。
如果計數相等,則應回顯Yes
,如果計數不同,則回顯No
。
是否所有行包含向下和向上的文字? –