Profile
Achievement
    
                svenito's Recent SnippetsTagged array
- All /
 
 « Prev 1 Next »
Shortens all strings in an array to a maximum length. Inserts '...' in between the first and last 6 letters
        
        
        
            0 
        
        
            1714 
        
                    posted 16 years ago by svenito
            Given a start path will return an array of all subdirectories excluding files
        
        
        
            0 
        
        
            1513 
        
                    posted 16 years ago by svenito
            Ensures all elements in an array are unique
newArray = myArray.unique();
        
        
        
            0 
        
        
            985 
        
                    posted 16 years ago by svenito
            This extends arrays withe a removeItems operation to remove all occurances of <item> from <array>
usage: myArray.removeItems("words");
        
        
        
            0 
        
        
            1042 
        
                    posted 16 years ago by svenito