📜  在特定字符 powershell 之后输出文本 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:49:35.586000             🧑  作者: Mango
代码示例1
$pos = $name.IndexOf(";")
$leftPart = $name.Substring(0, $pos)
$rightPart = $name.Substring($pos+1)