All we store is the start position of the 1s, then the start position of the 0s, then the position of 1s again, and so on until the bit string is over.
我们存储的是,开始出现1的位置,开始出现0的位置,然后再是出现1的位置,如此重复直到比特串结束。
For some functions, a numeric value is input, for example start, length, and offset parameters of string functions.
一些函数的输入是数值,比如字符串函数的起始、长度和偏移量参数。
This form of string chopping can come in quite handy; simply specify the character to start from and the length of the substring, all separated by colons.
这种形式的字符串截断非常简便,只需用冒号分开来指定起始字符和子字符串长度。
So I just have to see, oh, here's a D, let me keep looking, D here's an A, keep looking here's a V, here's an I, here's a D and yet, and this is one tidbit we introduced a week or so ago, how do I now know if I'm just given the address of the start of the string where the end is?
我只需要看到,哦,这里是一个D,让我接着往下看,这里是A,接着这是V,这是I,这是,然而,这是我们一周以前介绍的花絮,如果你给我一个字符串开始的地址,我怎么知道它什么时候结束?
应用推荐