nfill


Description:

public static string nfill (size_t length, char fill_char)

Creates a new string length bytes long filled with fill_char.

The returned string should be freed when no longer needed.

Parameters:

length

the length of the new string

fill_char

the byte to fill the string with

Returns:

a newly-allocated string filled the fill_char