c#保持订单中的串联希伯来语字符串
我有三个字符串,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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
结果字符串实际上是String1_string3,它只是从右到左打印。
The result string is actually string1_string3, it just prints from right to left.