将在所有罗马字母字符串后排序的字符串。 [英] string that will sort after all strings of Roman letters.

查看:84
本文介绍了将在所有罗马字母字符串后排序的字符串。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要一串字符,这些字符将在罗马

字母的所有字符串后排序。


将使用类似于此字体的字体显示的内容注释是写的

with。


有没有这样的东西?


我尝试使用字符串开头{因为在ASCII中它出现在

字母之后但在字母之前排序。


你能帮忙吗?

谢谢< br $> b $ b ps


我试图说明这一点,所以我不会得到有关多种文化的回复,

字母等。


我说的是简单的英文姓氏作为特殊字符串之前的字符串。

I want a string of characters that will sort after all strings of Roman
letters.

Something that will display using a font like the one this note is written
with.

Is there such a thing?

I tried using a string starting with { because in ASCII it comes after the
letters but that sorts before the letters.

Can you help?
thanks
ps

I tried to state this so I wouldn''t get replies about the many cultures,
alphabets, etc.

I''m talking simple English Last names as strings before the special string.

推荐答案

你好,


你不是用罗马字写的,所以实际上不可能在我的想法中回答你的问题。首先尝试什么是罗马字符和

告诉我们你的意思。肯定它们不是用英语。


它也不是我在这条消息中看到的字符。每个人都有自己的字体设置,可以改变角色的显示方式。


拉丁文中使用罗马字符。可能你的意思是大多数北欧/西欧语言中使用的标准

字符(26)。


因为你不想听到文化,你的问题是

和如何吃可口可乐一样的问题,但你不想听到

饮酒。


但是你可以达到你的目标。你写的是一些来自

国家的人,其中英语是标准的,但肯定不是

英国人/女人。


因此,如果你不想使用文化将你的字符转换成字节

并删除它的第一位。然后你有真正的ASCII并且可以对它进行排序

(但是还有更多的字符)。如果那不足以过滤掉那些没有完全填充的字节中的所有位。

并不难做到,这与完成的方式相同半个世纪

前。


Cor
Hi,

You are not writing in Roman characters so it is in fact impossible to
answer your question in my idea. First try out what are Roman characters and
tell us what you mean. For sure they are not used in the English language.

As well are it not the characters I see in this message. Everyone has his
own font settings which change the way a character is showed.

Roman characters are/were used in Latin. Probably you mean the standard
characters (26) as used in most North/West Europe languages.

Because that you don''t want to hear about cultures, is your question the
same as a question like how to eat a Coke but you dont''t want to hear about
drinking.

However you can reach your goal. You write as some people who comes from a
country where English is standard spoken however for sure not an
Englishman/woman.

Therefore if you don''t want to use cultures convert your characters to bytes
and delete the first bit of that. Then you have real ASCII and can sort it
like that (however there are still more characters in that). If that is not
enough than filter all the bits from the byte that does not fullfil that.
Not that difficult to do, it is the same way as it was done half a century
ago.

Cor


Academia写道:
Academia wrote:

我想要一串字符,这些字符将在

罗马字母的所有字符串后排序。


将显示的内容使用类似于这个笔记的字体是

写的。


有这样的东西吗?


我尝试使用以{开头的字符串,因为在ASCII中字母后面是
但在字母之前排序。
I want a string of characters that will sort after all strings of
Roman letters.

Something that will display using a font like the one this note is
written with.

Is there such a thing?

I tried using a string starting with { because in ASCII it comes
after the letters but that sorts before the letters.



我想你想看看String.CompareOrdinal的帮助,也许是使用用户提供的IComparer看到
Array.Sort的帮助。 />

Andrew

I think you want to see the help for String.CompareOrdinal and perhaps
Array.Sort using a user-supplied IComparer.

Andrew


我看了一下。

也许我可以用不同的方式问:

如何在我正在使用的字符串中找到各种字符对象的数值?

。这些字符串来自英文US .TXT

文件。


我需要找到一个比Thanks更高价值的字符" z"


谢谢


" Andrew Morton" < ak*@in-press.co.uk.invalidwrote in message

news:%2 **************** @ TK2MSFTNGP03.phx.gbl ...
I looked at that .
Maybe I can ask it differently:
How can I find the numeric values of the various character objects that can
be in the strings I''m using. These strings come from an English US .TXT
file.

I need to find a character that has a bigger value than Thanks "z"

Thanks

"Andrew Morton" <ak*@in-press.co.uk.invalidwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...

Academia写道:
Academia wrote:

>我想要一个字符串,将在之后排序所有字符串的罗马字母。

将使用与此笔记一样的字体显示的东西。

是否有这样的字母那个东西?

我尝试使用一个以{开头的字符串,因为在字母之后它来了
但是在字母之前排序。
>I want a string of characters that will sort after all strings of
Roman letters.

Something that will display using a font like the one this note is
written with.

Is there such a thing?

I tried using a string starting with { because in ASCII it comes
after the letters but that sorts before the letters.



我想你想看看String.CompareOrdinal的帮助,也许是使用用户提供的IComparer看到
Array.Sort的帮助。 />

Andrew


I think you want to see the help for String.CompareOrdinal and perhaps
Array.Sort using a user-supplied IComparer.

Andrew



这篇关于将在所有罗马字母字符串后排序的字符串。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆