An example of Exception Handling in PL SQL
Boiler Plate for T-Sql Error handling
Boiler Plate for T-Sql Error handling
Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.
In the same way you often need to format data being sent from Flash, you sometimes need to format data being received. This function takes a string and removes all spaces from it. Here we use the split method of the String class to split the string into an Array and then call the join method of the Array class to convert it back to a string....
This comes down to fixing a simple, yet annoying bug in IE’s capability of handling min-height. In essence, IE interprets height as min-height, so since IE wont implement the auto height, this snippet will fix all this for us.
The following are some useful functions to build URLs within a CGI script, for example to send a HTTP redirection header
Better way to handle Broken Image. Missing images will either just display nothing, or display a [ ? ] style box.
Program shows copying one text file from source location to any other location (destination), plus possibility of changing its name, and also shows many language features in exception handling. This program should be run from the command prompt
Pull external HTML code from a file right into your webpage
Merges two strings in a way that a pattern like ABABAB will be the result.
Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...
The following code block illustrates the use of TYPE..IS... and VARRAY. In this sample, a type v_arr is defined as an variable array of maximum 25 elements which are of type NUMBER(3). Then a variable v1 is defined as type v_arr . This sample code also demonstrates the use of %TYPE attribute.
Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...
This code will break a string of words up along the spaces and do a mySQL search for each of the words in the string.
This code will break a string of words up along the spaces and do a mySQL search for each of the words in the string.
This removes every instance of a space in the given string returning the new string as a string for Visual Basic
This is a very common PHP question of HOW TO remove last character from string in PHP. Find below some ways how to delete last character from string in PHP.
This allows you to do String.random_alphanumeric(num) to get a random string that is num characters long. Useful for generating random identifier keys.
Passing in a simple string of text converting it to lowercase and replacing all the spaces with a dash