repeat_string

ds2.1.1/lib/doc/efun/all/repeat_string · 427 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

repeat_string - repeat a string a specified number of times.

string repeat_string(string, int);

repeat_string returns a string that consists of its first argument
repeated n times, where 'n' is repeat_string's second argument.
So repeat_string("foo", 3) would return "foofoofoo".

This function requires PACKAGE_CONTRIB to be defined in the options file.

 Tim Hollebeek  Beek@ZorkMUD, Lima Bean, IdeaExchange, and elsewhere

Site Stats

Snippets: 1791
Codebases: 571