检查一个长字符串是否以某个短字符串结束。
Checking whether a longer string ends with a particular shorter string.
借此用户可以组合想要的文本直到字符组合成的字符串结束,窗口会关闭。
The user can compose the desired text in this way until the composition string is finalized and the window is closed.
指定想要得到字符串的长度,(可选,没有指定则返回从指定开始位置到原字符串结束位置)。
The number of characters in the substring. If this argument is omitted, the returned substring includes all characters from the starting position to the end of the string.
链接的描述没有明确提到的一个延伸直到字符串结束标记的情况下,而不是标准的,所以在这方面是不完整的。
The linked description doesn't explicitly mention the case of a token extending until the end of the string, as opposed to the standard, so it is incomplete in that respect.
从理论上讲,strncpy(3)是strcpy(3)的安全替代者,但是strncpy(3)还会在源字符串结束时使用nul来填充整个目标空间。
In theory, strncpy (3) is the safe replacement for strcpy (3), but strncpy (3) also fills the entire destination with NULs once the end of the source string has been met.
缺省情况下,文件结束字符串是下划线(_);如果将该字符作为单个输入参数来发送,则它之后的所有内容将被忽略。
By default, the end-of-file string is an underscore (_); if that character is sent as a single input argument, everything after it is ignored.
不管该资源原来是什么样子,这个操作会给您一个字符串,它都有所使用平台的正确行结束约定(估计可能合理)。
Doing this gives you a string that has the right end-of-line conventions for the platform you are running on, regardless of what the source resource looked like (within reason, presumably).
开始和结束标记带有下划线用于阻止意外的字符串匹配。
Start and end each token with an underscore to prevent accidental string matches.
如果字符串是以单引号开始,那么必须以单引号结束,反之亦然。
If you start a string with a single quotation mark, you must end with a single quotation mark, and vice versa.
请求响应包含三个大写输入字符串,并标志着请求处理过程的结束。
A request Response contains the three upper-cased input strings and represents the completion of the request processing.
你也能使用StartsWith及EndsWith方法来快速确定在指定值的开始或结束是否包含指定字符串。
You can also use the StartsWith and EndsWith methods to quickly determine whether a value starts or ends with a specific string.
空格出现在字符串的结束位置。
该字符串操作还从元素的“start ”和“end ”属性抽取活动开始和结束时间。
The string operations also extract event start and end times from the "start" and "end" attributes of the element.
Ruby用一种和其他语言略有不同的做法去匹配字符串的开始和结束。
Ruby uses a slightly different approach than many other languages to match the end and the beginning of a string.
字符串在Python中,是以一个开引号开始,然后后面是一系列的字符,以一个尾引号结束。
Strings are captured in Python with an open quote and some sequence of characters followed by a closed quote.
如果源字符串至少和目标一样长,那么函数strncpy(3)还不会使用NUL 来结束字符串;这可能会在以后导致严重破坏。
The function strncpy(3) also doesn't NUL-terminate its destination if the source string is at least as long as the destination; this can cause havoc later.
第一,在创建字符串时,您可以混合使用单引号和双引号,只要字符串在开始位置和结束位置使用同一类型的引号。
First, you can mix single and double quotation marks when creating a string, as long as the string USES the same type of quotation mark at the beginning and end.
举个典型的例子,1.5版前,在字符串中,当函数调用的结束括号另起一行时,代码颜色显示会不正确。
A typical example is that prior to version 1.5, the code coloring was incorrect for a function-call inside a string when the closing bracket was placed on a new line.
此外,chef规则以\z结束,\ z表示字符串的结束。
Also, the chef rule ends on \ z, which is the end of the string.
当被告知输出不超过n个字节时,snprintf保证会创建一个长度不超过 n-1的字符串,字符串最后是一个空结束符。
When told to print no more than n bytes, snprintf guarantees that it creates a string of length no more than n-1, with a null terminator at the end of the string.
但是第二个和第三个都不匹配(但是这是没有问题,因为它们本身都是可选的),然后字符串就结束。
This matches the start of the string, and then the first and second optional m, but not the third m (but that's okay because it's optional), and then the end of the string.
你不想按长度的字符串在C就可以具有一零字节的文本标记结束。
You don't want to push the length - strings in C is just the address of the text with a zero byte to mark the end.
认为这一方式是分隔符的列表总是包含NUL'\0'分隔符字符串的结束。
One way to think of it is that the list of delimiters always includes the NUL '\0' at the end of the delimiter string.
为了写长字符串而不引入无关空白符,使用\结束一行。
For writing long strings without introducing extraneous whitespace, end a line with a \.
它的命令是由结束的字符串。
这个字符串必须是有效的PHP代码,并且必须以分号结束。
The string must be valid PHP code and must end with semicolon.
我如何找到一个字符串的结束模式?
我如何找到一个字符串的结束模式?
应用推荐