On this page I would like to offer a few useful scripts or
other freely usable things.
This area is still under construction.
... coming soon ... or later...
string_end(str, width)
/*
Zeigt nur das Ende eines Strings an, damit er in
ein Textfeld gegebener Laenge passt.
by BadToxic
*/
var str, width;
str = argument0; // Der String
width = argument1; // Die erlaubte Breite in Pixeln
while(string_width(str) > width){
str = string_delete(str, 1, 1);
}
return str;