Profile
Achievement
bluecap's Recent Snippets
- All /
« Prev 1 Next »
Pull banner ad or image code from a given text file into an array and randomize the order. Banner/image codes in the file should be separated by tildes (~).
0
806
posted 13 years ago by bluecap
If a string exceeds x characters (defaults to 100), trims the string to the first x characters and appends a tail to the end of the truncated string (defaults to an ellipsis).
0
730
posted 13 years ago by bluecap