Word Wrap Snippets


If you want to interact with the popular social messaging site, you’ll enjoy this function for sure, which will allow you to truncate your message to 140 characters.

21 February, 2011   

Centering a Website

17 July, 2018   

This function takes a string and an output buffer and a desired width.

28 February, 2013   

This function takes a string and an output buffer and a desired width.

27 January, 2014   

Extracts the month from a specified date.

23 May, 2018   

Add to bookmarks bar, select text, click it to get the word count.

01 April, 2011   

This sticky footer solution is working in all major browsers, including Google Chrome! It works with floated 2-column layouts and we don't get overlap in re-sized browser windows unlike older solutions you find when you Google sticky footer. And you don't need an empty push div.

16 January, 2012   

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

19 January, 2013   

Word scramble game that was made in java by MountainDew

21 September, 2013   

Returns the hexadecimal representation of the given long (4 byte) word value.

09 February, 2013   

There are websites that will watch a page for you and notify but I didn't really like the way they worked.

Visual Basic code to convert number to Indian Rupees. This code is compatible with : VB 6,VB 5,VB 4/32,VB 4/16,VB 3 Author of the code : Anandh Kumar. B Declarations : Usages Msgbox CRupees(123456.78)

07 February, 2011   

If you don't set the wmode on a flash embed it will float over the top of an overlay which can be a pretty big deal. This is ideal in environment with lots of legacy video code or where users will be posting new code and teaching them about wmode is a lost cause. This should work in all browsers.

13 March, 2011   

This program make input type for password.

13 June, 2016   

As a "preview" of text, this MySQL select will return the first few words out of a text field in a database. It returns entire words (doesn't cut them off in the middle) and follows the last word with an elipse "..."

10 November, 2012   

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

An example code using jQuery Auto Image Scroller

23 January, 2013   

Returns the number of the quarter containing a given date.

This tip shows how to extract the associated icon and draw it into a small area of the form (e.g. Notepad icon)

16 January, 2011   

One of the most common mistakes I see beginners and intermediates fall victim to when it comes to CSS is not removing the default browser styling. This leads to inconsistencies in the appearance of your design across browsers, and ultimately leaves a lot of designers blaming the browser. It is a misplaced blame, of course. Before you do anything...