一台大型计算机的即时存取存储器可容纳多达100000个“单词”——字母或数字字符的字符串——随时可用。
The instant access memory of a large computer may hold up to 100,000 "words"—string of alphabetic or numerical characters—ready for instant use.
您将学习如何显示文本、执行排序、计算单词和行数、转换字符,以及其他任务。
You will learn how to display text, sort it, count words and lines, and translate characters, among other tasks.
为了计算每行适用字符数的最大值,我们使用浏览器的默认设置和风格表单提供的默认排版设置。
To compute the max. number of characters per line we have used default setting of the browser as well as default typographic settings provided by the style sheets.
DB 29的新功能解决了字符组成及其长度计算方面的问题,本文将讨论这些新功能。
The subject of what constitutes a character, and how you can count them, is addressed by the new DB2 9 functionality discussed in this article.
编码系统是一种将编号分配给个别的字符以使计算机能处理这些字符的方法。
An encoding system is a method of assigning Numbers to individual characters so that a computer can process those characters.
它需要这些细节来计算行的长度、连字符、对齐格式,等等。
It needs these details to calculate line lengths, hyphenation, justification, and so on.
本文中将使用字节计算字符串长度的方法称作字节语义,而使用字符数计算字符串长度的方法称作字符语义。
The counting of string length using a byte is referred to as byte semantics in this article, and the counting of string length using the number of characters is referred to as character semantics.
使用 COUNTSTRING函数决定调用的次数,这个函数计算 < 字符出现的次数。
The number of calls is determined using the COUNTSTRING function, which counts the number of occurrences of the < character.
因为计算过的表达式可能很长,并且可能包含对于XML标记来说非法的字符,所以计算过的列仅由它们的位置命名。
Since a calculated expression can be long, and contain characters illegal for XML tags, calculated columns are named simply by their position.
我把escape字符加入进去,但相应的Stretch编码并没出现在1960年关于计算机内部字符编码的调查[4]中,因为Stretch的编码集当时已经被固化了。
I put in the escape character as a set member, but a Stretch code for that did not appear in the 1960 survey [4] of internal computer character codes because the set was already frozen.
请注意,虽然您可能倾向于向该域中键入,但那些字符中有许多字符都不容易映射到您计算机键盘上的键。
Note that while you may be inclined to type into that field, many of those characters do not easily map to keys on your computer keyboard.
处理文本需要某种约定将字符转换为计算机实际可以处理的数字;这些约定叫做字符编码。
Handling text requires that there be some convention for converting characters into the Numbers computers actually handle; these conventions are called character encodings.
在执行这个操作时,要复制的字符的数目通常是基于源字符串的相关信息来计算的。
When doing that, the number of characters to be copied is usually computed based on information about the source string.
这个传入的参数值会嵌套在另一个字符串中,以获得已计算出的和返回的公式的结果。
This incoming parameter value will be embedded in another string to get the result of the formula calculated and returned.
因此,如果计算机使用来自标准ASCII的英语字符表示,肯定没有问题!
AS such, computers used an English character representation from standard ASCII with no problem.
例如,在事件处理程序中,可以对随异步请求一同传递的数据执行计算或字符串连接操作。
For example, within the event handler, calculation can be performed or strings concatenated for data sent along with the asynchronous request.
它拥有丰富的内嵌功能库,用于提高您的通常所需的操作的生产力,例如日期和时间计算、字符串处理,等等。
It has a rich library of built-in functions to boost your productivity for commonly required operations, such as date and time math, string manipulation, and so forth.
待执行的字符串操作可能导致不同的输出,取决于计算字符所使用的字符串长度单元。
The string operation to be performed may result in different outputs, depending on the string length unit that is used for counting the characters.
在使用XML执行计算时,比如求出薪水的1%,必须在字符串和数字之间进行转换。
When using XML to perform calculations, such as figuring out 1% of salaries, you must convert between strings and Numbers.
字符串分析能够自动计算出,到它连接到此SQL命令时候位置,它不可能包含单个的引号或者分号。
String analysis automatically computes that by the time it is concatenated to the SQL command, it cannot include single quotes or semicolons.
使用OCTETS作为字符串长度单元时,通过简单地计算字符串的字节数即可确定字符串的长度。
When OCTETS is used as the string length unit, the length of a string is determined by simply counting the bytes of the string.
正如您所见,以各种编写系统编写的字符串的长度得到了错误的计算。
As you can see, the length of the strings written in various writing systems is miscalculated.
在很多情形下,您需要根据代码单元计算的字符串长度,可以使用基于字符的函数来获取根据字符串单元计算的字符串长度。
In many situations, you need the string length in terms of code units, the character-based functions could be used to find the length of the string in terms of string units.
为了查遍所有数据并找到其中有意义的关系,分子生物学家们越来越依赖于高效的计算机科学字符串算法。
To search through all this data and find meaningful relationships within it, molecular biologists are depending more and more on efficient computer science string algorithms.
下面的示例是一个字符串算法,与计算生物学中经常使用的算法相似。
The next example is a string algorithm, like those commonly used in computational biology.
如果字符串匹配,则执行适当的计算,并返回格式化的字符串,以供显示。
The string is matched, the appropriate calculation is performed, and a formatted string is returned to be displayed.
如果两种形式都不行,那么任何使用大型字符串的表达式都需要在本地计算。
If neither is possible, any expression using a large string needs to be evaluated locally.
并编写一个简单使用动态sql的SQL用户定义函数(UDF),转换字符串中传入的公式并计算值。
And writing a simple SQL User Defined Function (UDF) that USES dynamic SQL to convert the formula passed in the string and calculate the value.
如果使用字符语义计算字符串的长度,则该字符串的长度为2。
The length of the string is two, if character semantics is used to calculate the length of string.
对于本例来说,创建count函数来将整个文件读取到一个大字符串中,然后计算参数数量及新添参数数量。
For this example, you create a count function to read the entire file into one big string, and then count the total number of characters and the number of newline characters.
应用推荐