be a string
是 字 符串
A limitation of anydbm is that the keys and values have to be strings . 输入字符串是“IlikeNew”,正确的输出是字符串 “York”。 The input is the string“I like New” and the correct output is the string “York”.变量是用作数字占位符的符号(或者,可能是字符串 和其他数据)。 Variables are symbols that act as placeholders for numbers(or, potentially, strings and other data). 这些值属于不同类型:2是一个整数,而“Hello,World!”是字符串 ,之所以这么命名,是因为它包含了一“串”字符。 These values belong to different types: 2 is an integer, and"Hello, World!" is a string , so called because it contains a"string" of letters. 这些值属于不同类型:2是一个整数,而“Hello,World!”是字符串 ,之所以这么命名,是因为它包含了一“串”字符。 These values belong to different types: 2 is an integer, and'Hello, World!' is a string , so-called because it contains a“string” of letters.
否则,a和b会是字符串 ,它们的总和就是它们的连接,即:“1”+“2”=“12”。 Otherwise, a and b would be string their sum would be their concatenation, that is:"1"+"2"="12". GoAWK值是字符串 或数字(或“数字字符串”),并使用value,这个值传递的结构,其定义如下:. GoAWK values are strings or numbers(or“numeric strings”) and use the value struct, which is passed by value, and is defined as follows. 例如,如果我们的语言A是字符串{'01','1'}的集合,则A*的一个成员是字符串 '0101111'。 For example, if our language A is the set of strings{‘01',‘1'}, then one member of A* is the string ‘0101111'. 因此,如果s1的值是”fred“,那么s1.trim()是字符串 ”fred”,删除了原字符串后面的空格。 Thus, if s1 has the value"fred", then s1. trim() is the string "fred", with the spaces at the end removed. For each member, the name is always a string . Hanukkah优化:它仍然是字符串 ,而不是物体. Optimizing for Hanukkah: Sometimes it's still strings , not things. Check to see if our number is actually a string . This isn't a comment, since it's part of a string .". 如果repeat的参数是字符串 ,则会先转换成数字。 If the words are numbers they are converted to strings first. Constants of most non-numeric types are first classified as strings . 这两种类型实质上是字符串 ,根据需要可以包含额外属性。 These two types are essentially strings that may contain extra attributes as needed. Then that character needs to be followed by h, followed by end of string . 存储的第一个字节是字符串 的长度,或255,取较小者。 The first byte stored is the length of the string , or 255, whichever is smaller.如果是字符串 ,它会被当作一个Python表达式进行分析和解释。 If the script is one line , it is treated as a Python expression and evaluated.
Display more examples
Results: 975 ,
Time: 0.0207