【发布时间】:2015-07-08 04:45:59
【问题描述】:
我尝试过使用 Streamwriter、readline、设置 var 和 if 语句与 .Contains("stuff");但我无法让它打印文本的特定部分
start ShooterGameServer.exe TheIsland?QueryPort=27015?SessionName=Cain532?MaxPlayers=10?listen?ServerPassword=12345?ServerAdminPassword=******** -nosteamclient -game -server -log
我需要阅读“SessionName”、“MaxPlayers”、“ServerPassword”、“ServerAdminPassword”之后的内容
我也不知道如何使用 Split :(
我有 3 个文本框和一个 numericupdown 框,我需要将值插入其中。
【问题讨论】:
-
你想打印什么?
-
请更具体地解释您“无法弄清楚如何使拆分工作”的方式。提供a good, minimal, complete code example,清楚地显示您尝试过的内容,并详细说明代码的作用以及与您希望它做的不同之处。