在C#控制台应用程序中删除控制台键入的文本

时间:2019-05-04 15:46:07

标签: c# console-application

如何清除此行。就像CMD中的“ CLS”命令一样。谢谢。 I don't want to show this lines

1 个答案:

答案 0 :(得分:5)

SELECT Cast(Substring_index(Substring_index(col, '"value";s:', -1), ':"http', 1) AS UNSIGNED) + 1
FROM   TableName 

+---------------------------------------------------------------------------------------------+
| Cast(Substring_index(Substring_index(col, '"value";s:', -1), ':"http', 1) AS UNSIGNED) + 1  | 
+---------------------------------------------------------------------------------------------+
|                                                                                          70 |
+---------------------------------------------------------------------------------------------+
  

Clears控制台缓冲区和相应的显示控制台窗口   信息。