Decode String Snippets


08 February, 2016   

A type of replacement function within the SELECT statement.

PHP code for Base64 Encode and Decode

10 August, 2011   

Url Encode is a technique employed in order to convert a string used in a URL into a valid URL forma and decode url

06 September, 2012   

Find what profile values are set for a particular user

Find what profile values are set for a particular user

Encodes the given data with MIME base64. Base64-encoded data takes about 33% more space than the original data.

11 October, 2011   

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....

19 April, 2015   

Merges two strings in a way that a pattern like ABABAB will be the result.

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.

04 February, 2013   

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

18 September, 2013   

If you don’t need human readable string, then use this function instead, which will create a random string you can use for user id’s etc.

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.

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

05 August, 2015   

Shows how to access the HTTP headers from a given web adress.

18 December, 2014   

Example code for locking table. when a user modifies data through a transaction, that data is locked by that transaction until the transaction is committed or rolled back.