1 03/31/83 decat
2
3 Syntax: decat strA strB C
4
5
6 Syntax as active function: decat strA strB C
7
8
9 Function: performs operations on bit or character strings. These
10 operations are specified by a three-digit bit string given last in the
11 usage line.
12
13
14 Arguments:
15 strA, strB
16 are character strings or bit strings entered as 0 and 1 characters.
17 C
18 is any three-digit bit string expressed as 0 and 1 characters such
19 as 000,001,...,111.
20
21
22 Notes: The first occurrence of strB found in strA divides strA into
23 three parts: part prior to strB, part matching strB, and part
24 following strB. The digits given in C correspond to these three parts.
25 The return string contains the parts of strA whose corresponding bit in
26 C is 1. All three parts are returned in their original order of
27 appearance in strA.