Welcome To Snipplr


Everyone's Recent Snippets Tagged text



1 2 3 4 5 6 ... 9
Very simple and basic TextHandle class, extends TextField... You can extend to fit your needs. Basic usage: var a:TextHandle = new TextHandle("some text"); addChild(a) Optional params: _size: uint ( default 22 ) - size of the textfiled...
1 1544 posted 14 years ago by burnandbass
This snippet simply makes the text wrap when it reaches the walls of its container, in this case, the pre tag, whilst still preserving line breaks and white space cross browser.
0 1208 posted 14 years ago by paul66
This help you cutting text without cut the last word. Any feedback appreciated!
0 1281 posted 14 years ago by alesma
0 1201 posted 14 years ago by kyrathaba
0 1228 posted 14 years ago by kyrathaba
Returns a circle filled with textfields with your text. fully customizable. See the actionscript comments for usage
2 1436 posted 14 years ago by withinmedianl
Turn a string LikeThis into like_this
1 1155 posted 14 years ago by jarnaldich
1 1147 posted 14 years ago by shodan_uk
simple jquery code to clear form fields
0 1141 posted 14 years ago by jelontok
0 966 posted 14 years ago by lickasha
0 1072 posted 14 years ago by ronklein
This snippet will replace any "&amp;" within the text of the container your specify with a <span> that you can target with CSS; fancy!
0 956 posted 14 years ago by dtigraphics
3 2563 posted 15 years ago by vaishnavi
0 1170 posted 15 years ago by errkk
0 1076 posted 15 years ago by focal55
Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.
0 1183 posted 15 years ago by jarnaldich
This script parses the entered text and it gets all URLs from the text. It will then shorten those URLs and replace the long URLs with shortened ones in the text. If you need only the Shortener Services script, take a look at this snippet <a href="h...
1 1675 posted 15 years ago by stamba
0 1228 posted 15 years ago by G470
0 1308 posted 15 years ago by jschlick
0 1225 posted 15 years ago by dre1080
This regular expression used in Ruby will extract the characters between single or multi-character delimiters. It helps when you have strange delimiters such as \":delimeter1: text I want to grab goes here :delimiter2:\"
0 1535 posted 15 years ago by webonomic
0 1408 posted 15 years ago by newsok
1 2 3 4 5 6 ... 9