Text Converting Snippets


Very useful Java code snippets for Java developers - Converting Strings to int and int to String

Passing in a simple string of text converting it to lowercase and replacing all the spaces with a dash

17 November, 2012   

JavaScript code example for converting a string to all upper or lowercase

Example shown here how to convert a PHP array into a string

27 May, 2015   

A very common task is converting a number of bytes into something for human digestion.

05 January, 2013   

Here shown how to hide text with text indent

Convert a string of text and ad hyperlinks to all the URLs. We loop through each URL and add a hyperlink

23 March, 2011   

When using forms within your web site, there may be times when you will want to include an example of what you'd like your visitors to fill in your form field. Although you could place some default text within your form field, your users would need to delete the default text in order to type in their own information.

When using forms within your web site, there may be times when you will want to include an example of what you'd like your visitors to fill in your form field. Although you could place some default text within your form field, your users would need to delete the default text in order to type in their own information.

Hiding text can be extremely useful to hide company logo.

29 April, 2015   

Advanced "Go to Top" link using JavaScript and HTML anchors

Visual Basic code for inverting text with simple code. Very easy for all beginners. Easy to understand. Compatibility: VB 6 Author of the code: Ben - Ezrah Mansilla Declarations: Add two text box with default name One command with default name

16 January, 2012   

MySQL can perform boolean full-text searches using the IN BOOLEAN MODE modifier with MATCH function

19 January, 2012   

CSS Code example - how to control the letters in a text

09 July, 2013   

Copy selected text by allowing user to simply click a button

10 November, 2012   

It will return a string of words to represent the integer part of this value.

11 February, 2011   

Make the text color transparent but add a shadow.

07 April, 2011   

Make the text color transparent but add a shadow:

13 December, 2012   

A variety of snazzy CSS typography effects.

05 August, 2014   

PHP code example to highlight words in a string.