COPYCH - ***OBSOLETE***use CONCAT, PRINT, or MOVERL.

Usage:

copych( tostrng, topos, fromstr, frompos, count );

Description:

COPYCH copies "count" characters from string "fromstr" starting at character position "frompos" into string "tostrng" starting at character position "TOPOS". It does not put a "*0" at the end of the copied string and it copies exactly "count" characters so a call with "count" equal to zero does nothing.

For instance, if you have

a = "abcdefgh"
b = "1234567890"

and you make the following call:

copych(a, 3, b, 4, 2);

Then you would have

a = "abc56fgh"
b = "1234567890"

Copyright © 1996, Thinkage Ltd.