standard.C.string.memset

memset is available since version 1.0.

Prototype:

string memset(string dest, string c, number count)

Parameters

dest
The destination buffer
c
Character to set.
count
Number of characters.

Description:

Sets buffers to a specified character. Sets the first count chars of dest to the character c.

Return value:

The value of dest.