Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
svenito's Recent Snippets
- All /
« Prev 1 Next »
will split the string
"I am" search words
into
[0] => I am
[1] => searching
[2] => words
1
710
posted 14 years ago by svenito
Shortens all strings in an array to a maximum length. Inserts '...' in between the first and last 6 letters
0
931
posted 14 years ago by svenito
Given a start path will return an array of all subdirectories excluding files
0
936
posted 14 years ago by svenito
Ensures all elements in an array are unique
newArray = myArray.unique();
0
530
posted 14 years ago by svenito
This extends arrays withe a removeItems operation to remove all occurances of <item> from <array>
usage: myArray.removeItems("words");
0
557
posted 14 years ago by svenito