c#保持订单中的串联希伯来语字符串

发布于 2025-01-22 00:00:00 字数 463 浏览 2 评论 0原文

我有三个字符串,String1在希伯来语中,String2是一个下划线,String3再次在希伯来语中。

当我使用string.concat(String1,String2,String3)将它们串联时,结果字符串为字符串 3 _String 1 (两个希伯来语字符串倒置)。我找不到解决方法,有关真实示例,请参见屏幕截图。

请注意,我不知道字符串所在的语言,因此我无法相应地测试和更改串联,并且我需要以串联的顺序进行它们。

有人可以建议解决方案吗?

谢谢。

I have three strings, string1 is in Hebrew, string2 is an underscore, and string3 is in Hebrew again.

When I concatenate them using String.Concat(string1, string2, string3), the resulting string is string3_string1 (the two Hebrew strings are inverted). I cannot find a workaround, see screenshot for real example.

Note that I do not know what language the strings are in, so I cannot test and change the concatenation accordingly, and I need them in the order I concatenate them.

Anyone can suggest a solution?

Thank you.

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南薇 2025-01-29 00:00:00

结果字符串实际上是String1_string3,它只是从右到左打印。

The result string is actually string1_string3, it just prints from right to left.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文