[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  COPYSTR

  .  Summary

  copystr(str <source>, int <target>, int <pos>, int <count>);

  .  Description

  The copystr function copies one string into another at a certain po-
  sition. Characters in string <source> are copied into string
  <target> at position <pos> (note that SALT string offsets start at
  0, not 1 as in some languages). Characters are copied until a 0
  (NULL) value is encountered (normally at the end of every string),
  or <max> characters are copied. A 0 (NULL) is always copied at the
  end of the target string. The 0 does not count as part of the <max>.
  Only as many characters as will fit in <target> are copied.

  .  Return Value

  None.

See Also: copychrs substr subchrs
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson