Replace Character Snippets


Here is code to emove a specific character from the end of a Excel cell. Replace 'A1' with the cell and '-' with the character you want to remove. I found it very useful.

This stored sql procedure is used to replace a special character (or string) of your field with another string.

I would like to find the position of the last occurrence of a character in a string and print every thing after that.

08 June, 2013   

Checks if the given character is a valid ASCII character.

23 November, 2013   

You can search and replace fields by below query in MySQL Database

28 June, 2012   

Function to generate soundex code for any string (usually a name). Conforms to Knuth's algorithm and the common Perl implementation.

11 August, 2012   

MySQL code to find and replace string

To produce a random character from a specific list of characters (for example 'x', 'y' or 'z')

Copy the declarations and code below and paste directly into your VB project.

22 June, 2014   

To test in other timezones, replace '-5' with your local standard time GMT offset.

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.

11 October, 2018   

C++Code Snippets to Write a character using cout

JavaScript code snippet to Remove the Last Character from a String

05 November, 2015   

MYSQL code sample to replace a NULL with a given value.

13 December, 2011   

You can use to find and replace text in a variable. This script created by Bruce Phillips, one of the leading posters at MacScripter.

01 October, 2014   

PHP example code for secure link conversion

This code is used for getting the ansi value of a character

01 February, 2011   

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

17 February, 2019   

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

C++ source code for standard ASCII table generator