Is String Empty
-4
Parsing a String for Numbe
2
LCase Functio
-15
Transform XML File with XSL Stylesheet
7
I use this function when passing an array to a function being called from setTimeout();
12
If you have ever written a website or java application where people paste stuff in from Word, you are likely to have hit the problem of Word using high ascii chars for "open quotes", "close quotes", reg symbol, etc...
This java class (with a single static method) can replace the most prevalent of these with normal ascii values
Hope it helps someone...
This java class (with a single static method) can replace the most prevalent of these with normal ascii values
Hope it helps someone...
9
Gets the rightmost substring, of the specified length, from a String object.
8
svachon
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
8
This little function puts a string of a specified color and (centered) location. However, keep the word simple in mind. I purposfully not made it capable of supporting newlines.
By the way, this is my first snippet
By the way, this is my first snippet
8
I made this a little while back for a friend who was having trouble learning sockets. Below are snf.h, snferror.h and example.cpp (a little example).
The example opens a "web server" at port 8080 on the machine. However, it displays just one page.
Have fun!
The example opens a "web server" at port 8080 on the machine. However, it displays just one page.
Have fun!
9
I was coding a project that used arrays when the lack of a standard foreach in C/C++ got to me. So, I coded this little function to help me. It applies a function that returns int to each element of the array.









