Top "Character" questions

Refers to a symbol that represents a letter or number.

escape curly braces in unix shell script

I have a string: {2013/05/01},{2013/05/02},{2013/05/03} I want to append a { at the beginning and a } at the end. The output should …

shell unix character ksh reserved
C function strchr - How to calculate the position of the character?

I have this example code for the strchr function in C. /* strchr example */ #include <stdio.h> #include <…

c position character strchr
Is there a clean way to specify character literals in Swift?

Swift seems to be trying to deprecate the notion of a string being composed of an array of atomic characters, …

swift character literals
Remove all characters from string which are not on whitelist

I am trying to write java code which would remove all unwanted characters and let there be only whitelisted ones. …

java regex replace character whitelist
What's the opposite of a nbsp?

A &nbsp; character is a space which doesn't allow for line breaking. <p>lorem ipsum here&…

html character line-breaks hyphenation
Select-string escape character

I'm trying to search directory c:\bats\ for batch files containing the unc path \\server\public Command: Get-ChildItem -path c:\…

powershell escaping character unc select-string
How to use escape character in replace function when replacing quotations in VB

Here is my code snippet: Public Function convert(ByVal robert As String) Try robert = Replace(robert, "U", "A") robert = Replace(…

vb.net escaping character quotations
Send special character with SendKeys

I am using textboxes to send text via SendKeys, but when I insert special characters in the textbox, my application …

c# regex keyboard character sendkeys
Remove Characters from URL with htaccess

Hopefully someone can see what I'm doing wrong, but here's the story... My current site URL's are auto-generated by the …

apache .htaccess redirect character strip
Check if a string contains a non-alphanumeric character

I am trying to write a function which takes a string as an argument and checks if that string contains …

c++ string character non-alphanumeric