Luckily, the intl library provides the collator class (and shadow functions with names starting with collator_), which you can use to compare and sort strings with respect to your selected locale.
所幸的是,intl库提供了collator类(以及名字以collator _开头的影子函数),可用来根据特定的locale对比和排序字符串。
Close against the side of the station there was the warm shadow of the building and a curtain, made of strings of bamboo beads, hung across the open door into the bar, to keep out flies.
紧靠着车站的一边,是一幢笼罩在闷热的阴影中的房屋,一串串竹珠子编成的门帘挂在酒吧间敞开着的门口挡苍蝇。
Close against the side of the station there was the warm shadow of the building and a curtain, made of strings of bamboo beads, hung across the open door into the bar, to keep out flies.
紧靠着车站的一边,是一幢笼罩在闷热的阴影中的房屋,一串串竹珠子编成的门帘挂在酒吧间敞开着的门口挡苍蝇。
应用推荐