但是,在德语环境中,这个文本字段使用了更长的字符串标签,这可能导致截断问题,如图18所示。
In the German environment, though, the same field, now labeled with a longer string, can cause a truncation problem, as shown in figure 18.
这里我们需要将选中的文本包装到选定的样式标签中,并使用这个新的字符串替换文档里选中的文本。
Here, we need to wrap the selected text into the selected style tags and replace the selected text in the document with this new string.
在无法找到标签开头的其他所有情况下,我们返回一个空字符串。
In all other cases where we cannot find the beginning of a tag, we return the empty string.
可以对字符串、表或者带有指定标签的表单输入元素是否存在于页面上进行断言。
You can assert that a string, table, or a form-input element with a given label is present or not present in the page.
可以根据后端特定查询字符串,使用连接标签来创建外部资源的列表。
The connect tags can be used to create lists of external resources based on a backend specific query string.
对于每种受支持的样式标签,我们将构造一个替换字符串,并创建一个新的自动完成建议。
For each supported style tag, we construct a replacement string and create a new completion proposal.
主构造函数,类的主题,有一个参数列表来接受标签字符串和回调函数的列表。
The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.
新的菜单项stats以dtd实体的形式提供,对用户看到的标签使用一个经过本地化的字符串。
The new menu item, stats, USES a localized string for the label the user sees, provided as an entity in the DTD I mentioned.
这些页面的文件名包含字符串leaf,而其他包含扩展文本的文件有一个part标签。
The file names of these pages contain the string leaf; the other files that contain extended text have a part label.
对于第二个字符串字段,将其名称设置为comments,标签设置为additional comments。
For the second string field, set its name to comments and its label to Additional comments.
处于可读性考虑,您可能想要显示枚举值的标签(在现在的情况下,例如“Major”与“Minor”之类的字符串值),而不是该值的唯一ID。
For readability, you probably want to show the label of the enumeration value (in this case, string values such as "Major" or "Minor"), rather than the unique ID of that value.
这个代码生成字符串thecow2jump16over themoon2,其中,cow2、jump16和moon 2是既无助于机器、又无助于人类的任意标签,这里仅用于演示。
This code results in the string the cow2 jump16 over the moon2, where cow2, jump16, and moon2 are arbitrary labels helpful to neither machine nor human and just used here for illustration.
对于第一个字符串字段,将其名称设置为name,标签设置为Enteryour name,选中Required复选框。
For the first string field, set its name to name and its label to Enter your name, and check the Required checkbox.
它将向按钮添加侦听程序,然后将按钮和标签都放入文档对象模型(DOM)ID匹配传递给RootPanel . get的字符串的HTML元素。
It adds a listener to the button, then puts them both into HTML elements whose document object model (DOM) IDs match the strings passed to RootPanel.get .
如果在JSP查询字符串中有一个unid参数,那么form标签就会使用这个unid来打开一个文档。
If there is a unid parameter in the JSP? S querystring, the form tag USES that unid to open a document.
您可以在保存这个更改之后,验证RPT 工作区的ProtocolData标签中的User-Agent字符串值(图4)。
You can verify the change of the User-Agent string in the Protocol Data tab of the RPT workspace after you have saved the changes (Figure 4).
如果这个字符串包含标签,我们将相应地对该字符串分段,分别将单独的段包括在新的样式标签内。
If this string contained tags, we would segment the string accordingly and enclose each single segment separately between the new style tags.
标签RFC 建议用实际的单词组成字符串。
标签必须设置一个对字符串资源的参照值,这样它就能够像其他字符串一样在用户界面上显示。
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
最后在URI后面添加一个任意字符串,这样一个人在一天之内就可以创建任意数量的标签uri。
Finally, an arbitrary string is added to the URI so that one person on one day can create any number of tag URIs. Here are a few example tag URIs.
标签应该被设置为一个指向字符串资源的引用,使它可以像用户界面中的其它字符串那样被本地化。
The label should be set as a reference to a string resource, so that it can be localized like other strings in the user interface.
例如,一个程序可能需要除了空白、标签和标点符号以外包含30个字母的字符串。
For example, a program may require a string of any 30 alphabetic characters excluding Spaces, tabs, and punctuation marks.
富文本我需要过滤的字符串在大多数标签和结构表示以上。
The string of rich-text I need to filter has at most the tags and structure represented above.
若要使标签易于搜索,请避免使用可能与另一列中显示的字符串冲突的标签名称。
To make your labels easy to search for, avoid using label names that might conflict with strings that appear in another column.
下面是一个简单的例子,将遍历HTML的标签并将它们从文档中剥离,搜集所有的字符串。
Here's a simple example that strips HTML tags out of a document by iterating over the document and collecting all the strings.
我猜你想将一个字符串编码的用户的用户名,密码和姓氏为一三线结构,添加标签的文件是。
I suspect you want split a string encoding a user's Username, password and surname into a three line structure, adding tags to document which is which.
你可以命令函数在所有的标签前后放置一个字符串,而且在每个标签之间也放置一个字符串。
You can tell the function to put a string before and after all the tags, and in between each tag.
例如,一个程序可能需要除了空白、标签和标点符号以外包含30个字母的字符串。
For example , a program may require a string of any 30 alphabetic characters excluding spaces , tabs , and punctuation marks.
它不会有其他类型的标签,也不会有除了上述例子中的其他属性的字符串。
It will not have other types of tags, nor will it have other attributes besides the ones in the example string above.
此正则表达式匹配正常HTML字符串时工作良好,但是如果目标字符串缺少一个或多个标签时,它就会变得十分糟糕。
This regex works fine when matching a suitable HTML string, but it turns ugly when the string is missing one or more required tags.
应用推荐