How to split string by string in Powershell

后端 未结 5 1176
既然无缘
既然无缘 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条回答
  •  萌比男神i
    2020-12-03 17:29

    The following should be what you need:

     $string -Split $separator
    

    This produces:

    5637144576, messag<>est
    5637145326, 1
    5637145328, 0
    

提交回复
热议问题