I\'m trying to spit the string with a delimiter, which is a string:
$string = \"5637144576, messag<>est<<>>5637145326, 1<<>>563
Sometimes PowerShell looks exactly like C# and at others, well you know...
It could also be used thus:
# A dummy text file
$text = @'
abc=3135066977,8701416400
def=8763026853,6433607660
xyz=3135066977,9878763344
'@ -split [Environment]::NewLine,[StringSplitOptions]"RemoveEmptyEntries"
"`nBefore `n------`n"
$text
"`nAfter `n-----`n"
# Do whatever with this
foreach ($line in $text)
{
$line.Replace("3135066977","6660985845")
}