Top "Character" questions

Refers to a symbol that represents a letter or number.

Repeat Character N Times

In Perl I can repeat a character multiple times using the syntax: $a = "a" x 10; // results in "aaaaaaaaaa" Is there …

javascript string character repeat
How do I read input character-by-character in Java?

I am used to the c-style getchar(), but it seems like there is nothing comparable for java. I am building …

java character tokenize
Invisible characters - ASCII

Are there any invisible characters? I have checked Google for invisible characters and ended up with many answers but I'm …

facebook unicode character ascii
How to concatenate characters in java?

How do you concatenate characters in java? Concatenating strings would only require a + between the strings, but concatenating chars using + …

java character concatenation
Remove all special characters from a string in R?

How to remove all special characters from string in R and replace them with spaces ? Some special characters to remove …

regex string r character
How many characters can you store with 1 byte?

1 byte = 8 bits So, does this mean 1 byte can only hold one character? E.g.: "16" uses 2 bytes , "9" uses 1 byte , "a" uses 1 …

mysql character byte
How to determine if a String has non-alphanumeric characters?

I need a method that can tell me if a String has non alphanumeric characters. For example if the String …

java string character alphanumeric
How to delete Certain Characters in a excel 2010 cell

In column A I have a load of name that look like this [John Smith] I still want them in …

excel character excel-2010 cell
How to check if character is a letter in Javascript?

I am extracting a character in a Javascript string with: var first = str.charAt(0); and I would like to check …

javascript string character letter
What method in the String class returns only the first N characters?

I'd like to write an extension method to the String class so that if the input string to is longer …

c# .net string character