Top "Char" questions

char typically refers to a character data-type, representing letters of text.

Convert hex string (char []) to int?

I have a char[] that contains a value such as "0x1800785" but the function I want to give the value …

c char int
How can I use modulo operator (%) in JavaScript?

How can I use modulo operator (%) in calculation of numbers for JavaScript projects?

javascript char character
What is the best way to tell if a character is a letter or number in Java without using regexes?

What is the best and/or easiest way to recognize if a string.charAt(index) is an A-z letter or …

java char numbers letter
Converting a char to uppercase

String lower = Name.toLowerCase(); int a = Name.indexOf(" ",0); String first = lower.substring(0, a); String last = lower.substring(a+1); char f = …

java char uppercase
Converting an int or String to a char array on Arduino

I am getting an int value from one of the analog pins on my Arduino. How do I concatenate this …

string char arduino
Difference between "char" and "String" in Java

I am reading a book for Java that I am trying to learn, and I have a question. I can't …

java string char
Why is there no Char.Empty like String.Empty?

Is there a reason for this? I am asking because if you needed to use lots of empty chars then …

c# .net string char base-class-library
Fastest way to iterate over all the chars in a String

In Java, what would the fastest way to iterate over all the chars in a String, this: String str = "a …

java string performance char iteration
How to get the real and total length of char * (char array)?

For a char [], I can easily get its length by: char a[] = "aaaaa"; int length = sizeof(a)/sizeof(char); // length=6 …

c++ c arrays pointers char
SQL query for a carriage return in a string and ultimately removing carriage return

SQL query for a carriage return in a string and ultimately removing carriage return I have some data in a …

sql char carriage-return sql-like