从biztalk编排中的String中提取文本

问题描述 投票:0回答:1

我必须提取字符串中的消息。下面是我有的字符串

An error occurred while processing the message, refer to the details section for more information 
Message ID: {AA607FE1}
Instance ID: {EE3E9721}
Error Description:The remote server returned an unexpected response: (400) Bad Request.
The creation of the order failed is invalid.

输出应为:

Error Description:The remote server returned an unexpected response: (400) Bad Request.
The creation of the order failed  is invalid.
c# biztalk
1个回答
0
投票

在每次出现换行符时都会首先拆分字符串,这将导致拆分字符串数组。

© www.soinside.com 2019 - 2024. All rights reserved.