通常,需要一组特定的消息选项或需要发送非简单字符串的消息。
Very frequently there is a need for a specific set of message options or a need to send a message that is not a simple string.
Rails中的视图策略是:创建一个简单字符串,然后做一些替换。
The view strategy in Rails is to create a simple string and then make some substitutions.
处理复杂类型的技巧是创建能够在一个简单字符串中表示复杂类型的序列。
The technique for dealing with this is to devise a form of serialization that represents the complex type in a simple string.
在正则表达式中,一个常规字符是一个原子,它表示只包含其自身的单字符串集。
In regular expressions, a normal character is an atom that denotes the singleton set of strings containing only itself.
本例将ERb方式的替换与提供简单字符串的基本Ruby字符串替换结合了起来。
This example combines the ERb-style substitutions with the primitive Ruby string substitutions provided with simple strings.
Disease Outbreak表单使用了基于简单字符串类型的基本字段控件。
The Disease Outbreak form utilizes basic field controls based on simple string types.
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
Text:简单字符串数据,存储为 #PCDATA、break或非 XML字符。
Text: Simple string data stored as #PCDATA, break, or non-XML characters.
在这些实例中,类似于上述三个示例的简单字符串搜索将无法满足要求,因为这些搜索不区分位置。
In these cases, a simple string search, as performed in the previous three examples, doesn't suffice because the searches are insensitive to location.
关键是一个具有类型前缀(set、before或者after)和所涉及的属性和方法的简单字符串。
The key is a simple string with the type prefix (set, before, or after) and the attribute or method name involved.
只要将一组数据(或者甚至一个简单字符串)发送到 json_encode,一个JSON对象将出现(如 清单1 所示)。
Simply send in an array of data (or even a simple string) to json_encode, and a JSON object will emerge (as shown in Listing 1).
当然,无论是简单字符串类型和更加复杂的类型,如address,这些类型都用类表示,后面带有“Type”,因此在生成的清单中会看到对addresstype的引用。
Of course, those types are all represented by classes that end in "type," which is why you see references to AddressType in the generated listings.
该模块允许程序员将字符串当作字符数组对待,或者作为数字代码或者作为单字符字符串。
That module allows programmers to treat a string as an array of letters, either as numeric codes or as one-character strings. An example from the documentation.
CHAR存储固定长度的单字节或多字节的文本字符串(最高可达32,767个字节);在整理文本数据时支持使用代码集顺序。
CHAR Stores single-byte or multibyte text strings of fixed length (up to 32,767 bytes); supports code-set order in collation of text data.
VARCHAR存储可变长度的单字节或多字节文本字符串(最高可达255个字节);在整理文本数据时支持使用代码集顺序。
VARCHAR Stores single-byte or multibyte text strings of varying length (up to 255 bytes); supports code-set order collation of text data.
对于单字节字符编码模式,一个字节组成一个字符,单字节字符串的长度与字符串的字节长度相同。
In the case of a single-byte character encoding scheme, a single byte constitutes a character and the length of a single byte string is the same as the byte length of the string.
LVARCHAR (IDS)存储可变长度的单字节或多字节文本字符串(最高可达32,739个字节)。
LVARCHAR (IDS) Stores single-byte or multibyte text strings of varying length (up to 32,739 bytes).
对五百万汉字样本的测试中,应用此引擎的在线词典对有意义短字符串(不包括单字)代码页的识别率可以达到99%以上。
In an online dictionary which used this engineer as a sample, the recognition rate of short string's code pages can reach 99% on the test documents which include about five million Chinese characters.
对五百万汉字样本的测试中,应用此引擎的在线词典对有意义短字符串(不包括单字)代码页的识别率可以达到99%以上。
In an online dictionary which used this engineer as a sample, the recognition rate of short string's code pages can reach 99% on the test documents which include about five million Chinese characters.
应用推荐