Welcome To Snipplr


Everyone's Recent Snippets



1 ... 231 232 233 234 235 ... 554
it parses given string and returns 1st number it encounters ( it will replace comas with dots so floats formatted as 12,345 could be 12.345 ( some countries use that ) ) then u can parse returned value as a number / float / int - do what You need...
0 1149 posted 14 years ago by stryju
The resulting tree is represented through a dict where each father gets a key (with all the children as args)
0 1260 posted 14 years ago by magicrebirth
0 1161 posted 14 years ago by simondiercks
2 1434 posted 14 years ago by simondiercks
0 815 posted 14 years ago by klw
glider levin method
1 851 posted 14 years ago by interfacecreation
Modifies the file name in case an existing filename is in the specified path. (Ex: myfile.dat myfile(1).dat myfile(2).dat myfile(3).dat)
0 1658 posted 14 years ago by Sazabi02
Short and sweet, add the following two lines where you want to trigger a javascript function. Just change the javascript denoted in the code by "javascriptFunction()" with whatever you want to call. Also jsut in case make sure you have the allowScrip...
1 1105 posted 14 years ago by StevenW721
0 886 posted 14 years ago by dkevey
Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar
0 1020 posted 14 years ago by derebus
Write function "get_min_range" which returns the subscript of the smallest value in a portion of an array containing type int values. It has three arguments: an array, the first subscript in the subarray, and the last subscript in the subarray.
0 690 posted 14 years ago by itsaboutcode
0 1183 posted 14 years ago by stephcode
This is an extension method for splitting strings with a regular expression.
0 1090 posted 14 years ago by gyurisc
nice post, would do it a bit differently but using it currently as-is.
0 1055 posted 14 years ago by dmistriotis
isNumber string extension method for testing strings.
2 1637 posted 14 years ago by gyurisc
useful if you only want digits as input
0 830 posted 14 years ago by webstylr
Easy "back to top" scroll link
1 1156 posted 14 years ago by benwellby
0 802 posted 14 years ago by laurentzziu
0 871 posted 14 years ago by telltec
Uses LDAP to find EMail address by using the sAMAccountName. Add System.DirectoryServices to references.
0 1417 posted 14 years ago by poxet
Uses LDAP to find sAMAccountName by using the Email address. Add System.DirectoryServices to references.
0 1754 posted 14 years ago by poxet
1 ... 231 232 233 234 235 ... 554