In short, if the translated text is constructed just by concatenating the strings, the constructed sentences might no longer be grammatically correct in other languages.
简而言之,如果仅通过连接字符串来合并翻译后的文本,那么合并出来的句子可能不符合目标语言的语法。
When strings are folded together like this, there are no intermediary strings at runtime and the time and memory that would be spent concatenating them is reduced to zero.
当字符串是这样合并在一起时,由于运行时没有中间字符串,所以连接它们的时间和内存可以减少到零。
When concatenating numerous or large strings, array joining is the only method with reasonable performance in IE7 and earlier.
当连接数量巨大或尺寸巨大的字符串时,数组联合是IE7和它的早期版本上唯一具有合理性能的方法。
Builds a new string whose characters are the results of applying a specified function to each of the characters of the input string and concatenating the resulting strings.
生成一个新字符串,其字符是将指定的函数应用于输入字符串的每个字符并连接结果字符串的结果。
This means dynamically loading controls or concatenating a large number of strings in order to render even the simplest controls.
这意味着动态加载控件或一个字符串串联大批为使即使最简单的控制。
Returns a new string made by concatenating the given strings with a separator.
由串连的字串组成的新字串,串连的字串之间以分隔字串分隔。
Returns a new string made by concatenating the given strings with a separator.
由串连的字串组成的新字串,串连的字串之间以分隔字串分隔。
应用推荐