Enterprise COBOL library with string functions
Repository: https://github.com/OlegKunitsyn/main-string.git
Dependency | Version | Debug |
---|---|---|
ecblunit | * | Yes |
Enterprise COBOL library with string functions
Name | Description |
---|---|
strpos | Find the position of the first occurrence of a substring. Case-sensitive. |
stripos | Find the position of the first occurrence of a substring. Case-insensitive. |
CALL "strpos" USING l-haystack, l-h-len, l-needle, l-n-len.
Find the position of the first occurrence of a substring. Case-sensitive.
l-haystack String to search in l-h-len Size of l-haystack in bytes l-needle String to search for l-n-len Size of l-needle in bytes
Position where the needle exists relative to the beginnning of l-haystack. Returns 0 if not found.
CALL "stripos" USING l-haystack, l-h-len, l-needle, l-n-len.
Find the position of the first occurrence of a substring. Case-insensitive.
l-haystack String to search in l-h-len Size of l-haystack in bytes l-needle String to search for l-n-len Size of l-needle in bytes
Position where the needle exists relative to the beginnning of l-haystack. Returns 0 if not found.
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add main-string
$ cobolget update
Install the package and its dependencies:
$ cobolget install
....
Modules modules.cpy and modules.cbl updated.
Directory modules
contains source-code of the package and modules.cbl
ready for compliation and linking with your project.
Dependency | Version | Debug |
---|---|---|
ecblunit | * | Yes |
Enterprise COBOL library with string functions
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add main-string
$ cobolget update
Install the package and its dependencies:
$ cobolget install
....
Modules modules.cpy and modules.cbl updated.
Directory modules
contains source-code of the package and modules.cbl
ready for compliation and linking with your project.
See coboldoc documentation.
Enterprise COBOL library with string functions
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add main-string
$ cobolget update
Install the package and its dependencies:
$ cobolget install
....
Modules modules.cpy and modules.cbl updated.
Directory modules
contains source-code of the package and modules.cbl
ready for compliation and linking with your project.
See coboldoc documentation.
If you have found an issue or a vulnerability, please submit the report below