Questions tagged [alphabetic]
25 questions
218
votes
21 answers
How to strip all non-alphabetic characters from string in SQL Server?
How could you remove all characters that are not alphabetic from a string?
What about non-alphanumeric?
Does this have to be a custom function or are there also more generalizable solutions?

Even Mien
- 44,393
- 43
- 115
- 119
5
votes
4 answers
List of Unicode alphabetic characters
I need the list of ranges of Unicode characters with the property Alphabetic as defined in http://www.unicode.org/Public/5.1.0/ucd/UCD.html#Alphabetic. However, I cannot find them in the Unicode Character Database no matter how I search for them.…

thSoft
- 21,755
- 5
- 88
- 103
3
votes
1 answer
android: how can I get alphabetic name of SMS sender?
I'm working on Android App which receives SMS and handles them. Everything works fine except one moment. I don't know how to translate a custom sender ID to alphabetic name. e.g. I get SMS from a bank and I see a number instead of bank name, but…

pavel
- 33
- 4
2
votes
2 answers
How to write a test in Java that would check if a String contains any alphabetic characters?
In a piece of code (exercise for a bootcamp) I had to solve some tasks. One of those tasks is to check if a String that is provided to my method has a length of exactly x digits. This String is hypothetically a social security number, so it should…

santa_cloudy
- 35
- 4
2
votes
3 answers
(Java) alphabetic substring comparison ends up with a wrong result
In one of these HackerRank Java challenges, there is a problem which is defined as:
The problem
We define the following terms:
Lexicographical Order, also known as alphabetic or dictionary order, orders characters as follows: A < B < ...< Y <…

Said
- 187
- 1
- 2
- 11
1
vote
5 answers
In Kotlin, how to check if the input is alphabetic only
In kotlin, how to check if the input is alphabetic only.
Input could be anything, a String, Int or Double etc.
For example
val input = readLine()
if(check) {
doSomeTask
}
else doSomethingElse

Abhishek
- 59
- 2
- 12
1
vote
5 answers
Is the input word in alphabetical order?
I'm writing a function that will return true or false in regards to whether or not the input string is in alphabetical order. I'm getting undefined and not sure what I'm missing
function is_alphabetic(str) {
let result = true;
for (let count…

guywhogames
- 41
- 5
1
vote
1 answer
Random letters sorted by sorted list C#
I have to generate randomly letters in a string
this.text = "";
Random rndChar = new Random();
for (int i = 0; i < 50; i++)
{
this.text = this.text + (char)rndChar.Next(65,91);
}
The result is something about
GUHZBVUTSUZHBF...
Now i have to…

El Gato
- 21
- 2
1
vote
1 answer
validate if UTF-8 string is alphabetic
I have some string:
$str = 'Xin chào';
$str2 = 'Xin chào 1';
In order to check if these two string variables is alphabetic, I've tried with ctype_alpha.
However, both of ctype_alpha($str) and ctype_alpha($str2) are falsy.
Is there any other method…

Lewis
- 14,132
- 12
- 66
- 87
0
votes
1 answer
Dropdown and checkboxes field alphabetic order
I have a form and I would like to sort my dropdown and checkboxes field in alphabetic order.
I tried to use a javascript but it is not working.
$(function() {
var select = $('select');
select.html(select.find('option').sort(function(x,…

Jean
- 83
- 3
- 10
0
votes
0 answers
Gravity Forms Alphabetic Order Dropdown and Checkboxes field after WPML translation
I am using Gravity Forms with WPML.
I have some Dropdown and Checkboxes Fields.
In English Dropdown and Checkboxes are in alphabetic order. All ok.
But in my translation form, the system keeps the English order not the translation order.
I would…

Jean
- 83
- 3
- 10
0
votes
1 answer
How do I scan only alphabetic characters into an array in C?
I have a text file, and it is a paragraph with quotation marks, commas, periods, and spaces. I want my C program to scan only the letters into an array, while also making all of them lower case in the process. So if a text file said "Hello.", then…

Uclydde
- 1,414
- 3
- 16
- 33
0
votes
1 answer
How can I find the alphabetic position of the letters in a word and then add the numbers up?
I wrote some of the code which gives me the total of the word with the position of the English alphabet but I am looking for something that prints the line like this:
book: 2 + 15 + 15 + 11 = 43
def convert(string):
sum = 0
for c in…

Kylie
- 19
- 6
0
votes
1 answer
File to dictionary alphabetical loss
So, right now I have a text filed with alternating rows of state name abbreviations and their respective populations. The file is sorted alphabetically, with AK being the first line and so on. I am trying to put all of these into a dictionary, with…

Alex Zhang
- 63
- 1
- 6
0
votes
2 answers
Alphabetic list with letter - clickable
I am creating an alphabetic ordered list, where there is also a letter showing up above the items - see the image:
This is already done and working fine, but I need to have each item clickable, except the letters.
This is a part of my code from…

Darksymphony
- 2,155
- 30
- 54