Snipplrhttp://snipplr.com/tags/character
Recent snippets posted on Snipplr.comen-usThu, 22 Feb 2018 18:18:32 GMT(MySQL) Mysql - Convertir todas las columnas en colaciÃ³n utf8 - ironcremahttp://snipplr.com/view/95331/mysql--convertir-todas-las-columnas-en-colacin-utf8/
Consulta que permite convertir todas las tablas en colaciÃ³n utf8 ]]>Mon, 30 Mar 2015 04:54:13 GMThttp://snipplr.com/view/95331/mysql--convertir-todas-las-columnas-en-colacin-utf8/(SAS) Remove carriage return and linefeed characters within quoted strings - webonomichttp://snipplr.com/view/72784/remove-carriage-return-and-linefeed-characters-within-quoted-strings/
If a flat file contains embedded carriage return (CR) and linefeed characters (LF) inside double quotes, SAS will interpret them as end of line markers. This may cause your file to be read incorrectly.
This example replaces CR/LF characters within double quotes with other printable characters. CR/LF characters outside of double quotes are untouched.
In this sample, the external file is updated in place. You cannot separate the input and output because the code uses shared buffers.
You should make a copy of your file before running this sample on it. ]]>Sat, 02 Nov 2013 04:53:46 GMThttp://snipplr.com/view/72784/remove-carriage-return-and-linefeed-characters-within-quoted-strings/(SAS) Allow a list of non-numeric values for an iterative macro %DO loop - webonomichttp://snipplr.com/view/71951/allow-a-list-of-nonnumeric-values-for-an-iterative-macro-do-loop/
More details here: https://communities.sas.com/ideas/1084 ]]>Wed, 24 Jul 2013 00:51:16 GMThttp://snipplr.com/view/71951/allow-a-list-of-nonnumeric-values-for-an-iterative-macro-do-loop/(SAS) Using character values on a macro %DO loop - webonomichttp://snipplr.com/view/71474/using-character-values-on-a-macro-do-loop/
This sample contains 2 macro techniques for iterating through character values on a macro %DO loop. ]]>Tue, 11 Jun 2013 09:01:40 GMThttp://snipplr.com/view/71474/using-character-values-on-a-macro-do-loop/(Java) Create String List With Random Characters And Sort - borysnhttp://snipplr.com/view/71356/create-string-list-with-random-characters-and-sort/
Create a List for a specified number strings with a specified max characters (randomized...1-max). This method uses another snippet which contains initCharacterList(int, int) http://snipplr.com/view/71355/fill-character-list-from-ascii-table-and-sort/ ]]>Fri, 31 May 2013 12:40:32 GMThttp://snipplr.com/view/71356/create-string-list-with-random-characters-and-sort/(Java) Fill Character List From ASCII Table And Sort - borysnhttp://snipplr.com/view/71355/fill-character-list-from-ascii-table-and-sort/
FIll a List with ASCII (0-127) characters with a given number of characters. ]]>Fri, 31 May 2013 11:00:46 GMThttp://snipplr.com/view/71355/fill-character-list-from-ascii-table-and-sort/(PHP) Remove Last Character from String in PHP - apphp-snippetshttp://snipplr.com/view/69995/remove-last-character-from-string-in-php/
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. ]]>Tue, 19 Feb 2013 21:11:44 GMThttp://snipplr.com/view/69995/remove-last-character-from-string-in-php/(jQuery) Input &amp; Textarea Character Limit Display with jQuery - praveensewakhttp://snipplr.com/view/67290/input--textarea-character-limit-display-with-jquery/
This little jQuery snippet will let you quickly add a limit counter to input fields to display available remaining characters. A nice feature to include for improved user experience. ]]>Fri, 21 Sep 2012 09:35:15 GMThttp://snipplr.com/view/67290/input--textarea-character-limit-display-with-jquery/(jQuery) Foreign characters - iroybothttp://snipplr.com/view/66551/foreign-characters/
a list of special characters for the use together with alphanumeric plugin and it's allow parameter. This shall make sure that foreigners will be able to use your name/lastname fields. ]]>Tue, 07 Aug 2012 03:35:03 GMThttp://snipplr.com/view/66551/foreign-characters/(HTML) Character encoding - paul0078http://snipplr.com/view/64568/character-encoding/
]]>Sun, 15 Apr 2012 20:11:09 GMThttp://snipplr.com/view/64568/character-encoding/(ActionScript 3) Cropped Last Character on static text field - codismhttp://snipplr.com/view/55928/cropped-last-character-on-static-text-field/
OK sorted it with some mates from TwentySixLeeds.com
What you need to do is grab the length of the text, then knock off the autosize and then pad it!
Code would look something like this: ]]>Thu, 30 Jun 2011 06:24:10 GMThttp://snipplr.com/view/55928/cropped-last-character-on-static-text-field/(Bash) Linux - Switching file character encoding - ragnarokkrrhttp://snipplr.com/view/55149/linux--switching-file-character-encoding/
]]>Sat, 11 Jun 2011 06:34:02 GMThttp://snipplr.com/view/55149/linux--switching-file-character-encoding/(jQuery) Live Character Count Meter with Jquery - atikhttp://snipplr.com/view/50469/live-character-count-meter-with-jquery/
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width. ]]>Thu, 10 Mar 2011 20:13:53 GMThttp://snipplr.com/view/50469/live-character-count-meter-with-jquery/(jQuery) Twitter like Character Counter - edwardhotchkisshttp://snipplr.com/view/48125/twitter-like-character-counter/
]]>Mon, 31 Jan 2011 09:11:43 GMThttp://snipplr.com/view/48125/twitter-like-character-counter/(ActionScript 3) AS3 Encode and Decode HTML Entity Names (Full Set) - adrianparrhttp://snipplr.com/view/46566/as3-encode-and-decode-html-entity-names-full-set/
Use this static class to encode and decode HTML Entity Names. For some reason Snipplr doesn't display all the code, so download the ZIP file for a full working demo and source code. ]]>Thu, 06 Jan 2011 01:45:52 GMThttp://snipplr.com/view/46566/as3-encode-and-decode-html-entity-names-full-set/(HTML) HTML Character Entries - fauverismhttp://snipplr.com/view/44815/html-character-entries/
]]>Thu, 25 Nov 2010 01:01:11 GMThttp://snipplr.com/view/44815/html-character-entries/(Visual Basic) stripZeros(String) As String - CaptainProtonhttp://snipplr.com/view/34061/stripzerosstring-as-string/
This function removes all leading zeros at the beginning of a string. ]]>Sat, 08 May 2010 13:49:19 GMThttp://snipplr.com/view/34061/stripzerosstring-as-string/(Visual Basic) isLetter(String) - CaptainProtonhttp://snipplr.com/view/30190/isletterstring/
This method checks whether a given string is a letter (no umlauts).
The string should only be one character. ]]>Wed, 24 Mar 2010 02:59:37 GMThttp://snipplr.com/view/30190/isletterstring/(ActionScript 3) AS3 Get the Last Char in a String - adrianparrhttp://snipplr.com/view/29891/as3-get-the-last-char-in-a-string/
Returns the last character is a string. ]]>Wed, 17 Mar 2010 10:35:19 GMThttp://snipplr.com/view/29891/as3-get-the-last-char-in-a-string/(ActionScript 3) String replace using regular expression - godstrokehttp://snipplr.com/view/20482/string-replace-using-regular-expression/
. must be escaped using \ . It means something in regexp ]]>Wed, 30 Sep 2009 14:44:08 GMThttp://snipplr.com/view/20482/string-replace-using-regular-expression/