Return Value Snippets


01 October, 2011   

An example of Exception Handling in PL SQL

An example PHP function return a value, use the return statement.

04 December, 2011   

This snippet represents a simple deserializer of some basic Python types.

Source code for Binary tree creation, traversal and search

02 March, 2013   

Java code example shown here how to convert a number to words

The following are some useful functions to build URLs within a CGI script, for example to send a HTTP redirection header

Confirm a deletion (or any action) with Javascript.

Append Non-Breaking Space Between Last Two Words

This is the kind of function every web developer should have in their toolbox for future use: give it a string, a start, and an end, and it will return the text contained with $start and $end.

28 January, 2013   

Converts integer to left-zero padded string, len chars long.

19 July, 2012   

E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.

24 December, 2012   

jQuery Code example for Tab On Return Key Press

18 June, 2012   

An example of Stored PL/SQL blocks

16 August, 2011   

Here are the code for checking running iOS 4++

Change Date from dd/mm/yyyy to yyyy-dd-mm

07 February, 2011   

Check if Number is Even/Odd

Function of an integer raised in a power * and the calculation of the sum of a series of integers

18 February, 2013   

Brute-force calculation of any date. Includes some very tricky rules for modern-day Gregorian calendar.

27 April, 2013   

Returns an array of ints representing the indices of the triangles

Function of an integer raised in a power * and the calculation of the sum of a series of integers (1^e+2^e....+n^e) raised in a power.