在 英语 中使用 Concatenation 的示例及其翻译为 中文
{-}
-
Political
-
Ecclesiastic
-
Programming
Before JDK 1.5, despite its readability and simplicity, String concatenation using the operator+ could produce a very inefficient code.
The following JavaScript algorithm has a large number of redundant variables, unnecessary logic and inefficient string concatenation.
Write a Python statement that changes this to“colourless” using only the slice and concatenation operations.
As we can see, the developer did not provide any sort of input validation or filtering on values being passed by the user before concatenation.
The concatenation of two DRSs is a single DRS containing the merged discourse referents and the conditions from both arguments.
A method's actual name(insertObject: atIndex:) is a concatenation of all of the signature keywords, including colon characters.
Lunzip will correctly decompress a file which is the concatenation of two or more compressed files.
Given two strings a and b we define a*b to be their concatenation.
Note that Swift's use of extended grapheme clusters for Character values means that string concatenation and modification may not always affect a string's character count.
Given two strings a and b we define a*b to be their concatenation.
I am not expert in the cultures or languages of any of these peoples, but I find the concatenation of legends Velikovsky has accumulated stunning.
Yet in the third expression,+ tries string concatenation before numeric addition, so the 1 is converted to"1"(from number to string).
SF Concatenation's Jonathan Cowie, cybercaffing from the borough library, found he was unable to access his second-(third? one hundred fiftieth?) favorite blog, File 770.
Using concatenation, we can make regular expressions like'a. b', which matches any three-character string that begins with'a' and ends with'b'.
Otherwise, a and b would be string their sum would be their concatenation, that is:"1"+"2"="12".
Challenge: As above, how about making a total of 71 using just one 1 and one 7(again, no concatenation of digits, or this would be trivial!).
For any two strings s and t in Σ*, their concatenation is defined as the sequence of symbols in s followed by the sequence of characters in t, and is denoted st.
Notice that we could have achieved the same using string concatenation: name+' is'+ str(age)+' years old' but notice how much uglier and error-prone this is.
Figure 2: Backdoor using string concatenation to hide known functions.
Implications for Web performance: goodbye inlining, concatenation, and image sprites?