| Script | Author |
|---|---|
|
arab2roman
Constructs a Roman numeric representation of a given integer (which should be typed as a real, not a string) between 1 and 3,999,999. |
By Daniel
January 11, 2009 |
|
draw_text_progressive
Draws some text progressively, with a given delay between each character. The user can hold down a key (shift by default) to speed up the progression, or another key (space by... |
By Daniel
December 30, 2008 |
|
draw_text_wave
Draws some text in the pattern of a wave with the given magnitude |
By Daniel
January 3, 2009 |
|
draw_text_wordwrapped
An efficient method for drawing multiple lines of text with word wrapping. The arguments are identical to those used in draw_text_ext. |
By Daniel
December 25, 2008 |
|
ds_grid_repr
Returns a string representation of the given grid |
By Daniel
December 29, 2008 |
|
ds_list_repr
Returns a string representation of a list in the form [E1, E2, ...]. Useful for debugging. |
By Daniel
December 26, 2008 |
|
ds_map_repr
Returns a string representation of the given map |
By Daniel
December 29, 2008 |
|
ds_priority_repr
Returns a string representation of the given priority queue |
By Daniel
December 29, 2008 |
|
ds_queue_repr
Returns a string representation of the given queue |
By Daniel
December 29, 2008 |
|
ds_stack_repr
Returns a string representation of the given stack |
By Daniel
December 29, 2008 |
|
is_palindromic
Tests whether the given string is palindromic |
By Daniel
December 24, 2008 |
|
random_letter
Returns a randomly-chosen consonant or vowel |
By Daniel
December 24, 2008 |
|
random_word
Generates a random word. The result may not be an actual dictionary term, but it should have a natural sound (resulting from a good consonant/vowel arrangement).... |
By Daniel
December 24, 2008 |
|
string_confine_length
Trims characters from the end of a string until it is no longer than max_length. If trimming is necessary, the suffix (typically "...") will be appended on to the end of the string.... |
By Daniel
January 7, 2009 |
|
string_confine_width
Trims characters from the end of a string until it is no wider than max_width. If trimming is necessary, the suffix (typically "...") will be appended on to the end of the string.... |
By Daniel
January 7, 2009 |
|
string_explode
Breaks apart a string into a list of pieces separated by delimiter |
By Daniel
December 24, 2008 |
|
string_generate
Generate a string based on the given format, mimicking the behavior of printf in other languages. This is a simplified version of the routine, so it only supports the following... |
By Daniel
January 11, 2009 |
|
string_implode
Joins together multiple strings (pieces) into one combined string |
By Daniel
December 24, 2008 |
|
string_invert_case
Inverts the case of some string, making all the lowercase letters uppercase and vice-versa. |
By Daniel
January 11, 2009 |
|
string_pad
Pads some string to a certain length by applying some pad string on the direction of choice. |
By Daniel
January 11, 2009 |
|
string_reverse
Reverses the characters in a string |
By Daniel
December 24, 2008 |
|
string_ROT13
"Encrypts" a string using the classic rot13 algorithm. (See ROT13 on Wikipedia.) |
By Daniel
December 30, 2008 |
|
string_scramble
Scrambles the characters in a string |
By Daniel
December 27, 2008 |
|
string_soundex
Returns the Soundex code of some string |
By Daniel
January 11, 2009 |
|
string_split
Splits a string into parts of size part_size and returns the pieces in a ds_list. For example, string_split("abcdefg", 2) yields [ab, cd, ef, g]. |
By Daniel
January 11, 2009 |
|
string_trim
Removes whitespace from both sides of a string |
By Daniel
December 25, 2008 |
|
string_ucfirst
Converts the first character of a string to uppercase |
By Daniel
December 25, 2008 |
|
string_ucwords
Converts the first character of each word in a string to uppercase |
By Daniel
December 26, 2008 |
|
timediff
Returns a string describing the given time interval (dt) in English. For example, timediff(1000*60*60*34) will give "one day, ten hours". |
By Daniel
January 9, 2009 |
|
toString
Generates a string representation of an integer using the specified base |
By Daniel
March 21, 2009 |