How to split string by string in Powershell

后端 未结 5 1168
既然无缘
既然无缘 2020-12-03 16:49

I\'m trying to spit the string with a delimiter, which is a string:

$string = \"5637144576, messag<>est<<>>5637145326, 1<<>>563         


        
5条回答
  •  伪装坚强ぢ
    2020-12-03 17:42

    Instaed of using Split method, you can use split operator. So your code will be like this:

    $string -split '<<>>'
    

提交回复
热议问题