UNSTRING verb is used to unstring/divide the source string into different sub-strings. If we take the same above example- NAME-OUT is ‘Mahender Reddy G ‘ and it needs to be divided into first name, last name and initial; it can be done using unstring verb. UNSTRING NAME-OUT DELIMI...
COBOL also uses a library of string-manipulation functions, but most string manipulation is done using reference modification and the three string-handling verbs: STRING, UNSTRING, and INSPECT.doi:10.1007/978-1-4302-6254-1_15Michael Coughlan...
In theUNSTRINGstatement you can specify: Delimiters that, when one of them is encountered in the sending field, cause the current receiving field to stop receiving and the next, if any, to begin receiving(DELIMITED BYphrase) A field for the delimiter that, when encountered in the sending fie...
unstring 听听怎么读 英['ʌn'strɪŋ] 美[ʌn'strɪŋ] 是什么意思 v. 把弦解下,使神经衰弱; 变形 过去式:unstrung过去分词:unstrung现在分词:unstringing第三人称单数:unstrings 英英释义 unstring[ ,ʌn'striŋ ] v.remove the strings from...
COBOL also uses a library of string-manipulation functions, but most string manipulation is done using reference modification and the three string-handling verbs: STRING, UNSTRING, and INSPECT.DOI: 10.1007/978-1-4302-6254-1_15 年份: 2014 ...
Use the UNSTRING statement to split a sending field into several receiving fields. One UNSTRING statement can take the place of several MOVE statements.
语句。UNSTRING 语句相当于是STRING 语句的逆运算。下面,仍然结合前面利用STRING 语句合并姓名的例子介绍UNSTRING 语句的基本用法。这次假设此人的姓名“Adam Smith ”已保存在一个变量之中。此程序所需完成的功能是将该条完整的姓名拆分为姓和名两个字符串,并分别存放到不同的变量之中。程序代码如下。
Example: UNSTRING statement Related concepts Unicode and the encoding of language characters Related tasks Handling errors in joining and splitting strings Related references UNSTRING statement(Enterprise COBOL for z/OS® Language Reference) Classes and categories of data(Enterprise COBOL for z/OS Langu...