code snippets
all code snippets
/
popular code snippets
/
your code snippets
blog
privacy
about snipplr
New Snippet
/
Register
/
Login
Advanced Search
gandreini
Member since 01/17/2011
3 snippets
1409 profile views
0 Comment(s) Posted
View their
favorites
their Tags
regexp
array
sort
Profile
Achievement
gandreini's Recent Snippets
All
/
« Prev
1
Next »
ActionScript 3
Sort array numerically
Quite trivial but can be needed sometimes. At least I know where to look when i'll forget it
array
sort
1
796
posted 13 years ago by
gandreini
ActionScript 3
Pick a random item from an array
array
1
938
posted 13 years ago by
gandreini
ActionScript 3
Strip whitespace at the beginning and the end of a string
This can be useful when you retrieve strings from an XML or script that have whitespaces at the beginning or the end.
regexp
0
931
posted 13 years ago by
gandreini
« Prev
1
Next »
Choose a language for easy browsing:
ActionScript
ActionScript 3
Apache
AppleScript
ASP
Assembler
AutoIt
Awk
Bash
C
C#
C++
Clojure
ColdFusion
CSS
Delphi
Diff
Django
DOS Batch
Emacs Lisp
eZ Publish
Forth
Fortran
Gnuplot
Groovy
HAML
Haskell
HTML
iPhone
Java
JavaScript
jQuery
LaTeX
lighttpd
Lisp
Lua
Makefile
MatLab
Maxscript
Mel
MXML
MySQL
NewtonScript
Objective C
Open Firmware
Other
Pascal
Perl
PHP
PicBasic
PL/SQL
Processing
Prolog
Pseudocode
Python
R
Rails
Regular Expression
Revolution
Ruby
SAS
SASS
Scala
Scheme
SmallTalk
Smarty
SML
SPSS
SQL
SVN
Symfony
TCL
Textpattern
TYPO3
VB.NET
VHDL
Visual Basic
W-Language
Windows PowerShell
Windows Registry
XHTML
XML
XSLT