Listing 8 demonstrates how to check a JSON string with a regular expression.
清单8演示了如何使用正则表达式检查JSON字符串。
Be sure to include a leading and trailing blank in your class attribute string check.
一定要在class属性字符串检查中包含前导和尾部空格。
For example, Line 2 shows a check that determines if an empty string has been provided.
例如,第2行检查提供的是否是空字符串。
The following functions are all intended to check whether a string contains any lowercase letters, but at least some of them are wrong.
下面这些函数都试图检查一个字符串是不是包含小写字母,但他们当中肯定有些是错的。
The resource adapter might use this method to check that numeric properties are within the acceptable range or to ensure that a string property representing a value from an enumeration is valid.
资源适配器可能用这个方法检查算术属性是否在可以接受的范围之内,或者确保表示枚举值的字符串有效。
Function test: Check whether the input string has duplicate letters.
功能实验:检查输入字符串是否有重复的字母。
If more than one rule is set for the same connection string, the more restrictive rule is selected during the permission check.
如果对相同的连接字串设定一个以上的规则,则会在使用权限检查期间选取较为严格的规则。
Note that I have to check that the attribute is actually present, since when it's absent the contains test would return true (the empty string is contained in all strings).
我必须检查这个属性实际上是否出现,因为当没有这个属性时,contains测试将返回true(所有字符串都包含空字符串)。
As the strong winds gusted against the kites, a string kept them in check.
当强风把风筝吹起,牵引线就能够控制它们。
As the strong winds gusted against the kites, a string kept them in check.
一阵强风刮向风筝,一根弦控制住了风筝。
In this example, you want the getopt function to check for the existence of any of the option letters in that string, and each should have a value.
在这个示例中,希望让getopt函数检查命令行中是否有任何选项字母,而且每个选项应该有一个值。
Each check attribute constitutes an MD5 hash (a message digest algorithm commonly used in generating cryptographic hashes) of the following concatenated string.
每个check属性组成了以下连接字符串的MD 5散列(一种通常用于生成加密散列的消息摘要算法)。
The method of design and check for gas injection string has been applied in the fields.
文章提出的注气管柱设计和校核方法已在现场得到了应用。
If the string can't be empty or must be in a specific format, check for the format and throw an exception.
如果字符串不能为空或者必须为特定格式,请检查格式并抛出异常。
The database connection error, please check the connection character string.
数据库连接错误,请检查连接字符串。
A nonce is a non-repeating string freshly generated by the sender (the signer) such that the intended recipient can check its uniqueness.
现时标志是一个由发送方(签名者)新生成的无重复字符串,这样目标接收方就能检查其唯一性了。
As a further check examine the status window of the Web Services Explorer - you will notice that the returned string from the Web service is the version modified by our mediation.
进一步检查WebServicesExplorer的状态窗口——您将会发现,从Web服务返回的字符串是中介修改后的版本。
In fact, once you have the XML string ready to send to the server, you send it exactly as you would send any other plain text; check out Listing 2 to see this in action.
实际上,只要准备好发送到服务器的xml字符串,发送工作就和普通文本一样了,如清单2所示。
The card number, a thirteen - or sixteen-digit string with a check digit.
信用卡号,13或16位数字组成的字符串,包括一个校验位。
For the first string field, set its name to name and its label to Enter your name, and check the Required checkbox.
对于第一个字符串字段,将其名称设置为name,标签设置为Enteryour name,选中Required复选框。
Under a given condition, strength expressions of rod string is discussed and a linear diagram is derived which can be used to check the strength of rod string.
在某一给定条件下,对满足抽油杆柱强度要求的关系式进行了讨论,并绘制出了可校核抽油杆柱强度的线性关系图版。
Database Link Error, Please Check your Linking String!
数据库连接出错,请检查连接字串。
Database Link Error, Please Check your Linking String!
数据库连接出错,请检查连接字串。
应用推荐