Questions tagged [letters-and-numbers]

Characters (e.g., ASCII, Unicode) that represent letters and numbers; also: converting between letters and numbers (i.e., integers)

Letters And Numbers

Letters referred to by this tag are characters (e.g., ASCII, Unicode) that represent a symbol from some language's alphabet, e.g., Latin. Numbers can also be the characters or sequences of characters representing the digits from 0 to 9. This tag can also be used for questions about converting between letters and numbers (i.e., integers in code).

36 questions
0
votes
0 answers

Is there a list that makes the correlation between digits and visually-similar letters? Or vice-versa? (Unicode / Latin, OCR context)

Having the following European driving license info extracted using Tesseract.js (below is not the exact text, but rather an outline of the format these data fields would have on such documents), I would like to write multiple regular expressions…
M.Ionut
  • 187
  • 1
  • 3
  • 15
0
votes
1 answer

Python keyboard shortcut for greek letters

I am looking for an alt-code that I can use to insert rho (ρ) into python. I have tried Alt + 961 which returns ┴ which does not work. I can however copy a rho symbol from Word and paste into python which does work, but would be better to be able to…
0
votes
1 answer

Regex Java "test 123" needs to fail

So I created a program that would bring go through an input file and only pull the lines with 2 words in them. I then am trying to pull only the lines with ONLY letters. If there is any number I need it to fail. So far after researching I have come…
MadeleineG
  • 31
  • 7
0
votes
3 answers
0
votes
4 answers

Check if a string contains letters and cancel them

I've got an UITextField and I need to allow only numbers, comma or point typing in this field. How can I check if this string contains any character instead of these above and how can I replace/delete them? My field will store a cost and I need…
matteodv
  • 3,992
  • 5
  • 39
  • 73
0
votes
7 answers

Java repeated letter check in string

I'm having problem figuring out how to check from users input letters that were repeated. Program needs to output repeated letter as true and if there isn't any then as false. Program should not count numbers or symbols as repeated. For…
Shon LV
  • 11
  • 1
  • 3
0
votes
2 answers

compare number to letter

Is it possible to compare a number to a letter and make a difference out of it? What I'm trying to do is: Ask the user for a number between 0-10 (choose from a menu) Check what that number was, if the number isn't between 0-10 it will ask the user…
user5600666
0
votes
4 answers

C++ How to replace number for letter

well I would like to know how to change number by letter, I would like to replace the number 1 with :x: Here's my code: string stng; printf("Enter with number:"); cin >> stng; replace(stng.begin(), stng.end(), '1', 'x'); cout << stng << endl; as…
Ph4nton
  • 48
  • 1
  • 8
0
votes
2 answers

Replacing letters with numbers in a MATLAB array

I am trying to write a function to mark the results of a test. The answers given by participants are stored in a nx1 cell array. However, theses are stored as letters. I am looking for a way to convert (a-d) these into numbers (1-4) ie. a=1, b=2 so…
0
votes
4 answers

How do you turn a number into its matching letter?

If I had the number 1, and it was user-submitted, would there be a java function to turn it into A? Similarly with B, how do I turn it into 2 (opposite)?
Amey Gupta
  • 57
  • 1
  • 10
0
votes
1 answer

How to generate a file with all possible 12 character letter/number combinations?

I have been struggling with this for some time, and I can't even figure out where could I start with it. I am trying to create a program that is going to generate a lot of random (I could call them serials). Limit would be from letter A-Z on english…
Sandra
  • 41
  • 3
  • 6
0
votes
2 answers

What Letter and Number Mixups Need to be Considered?

I just had a user tell me his registration key didn't work. It took me quite a while to figure out that he entered the capital letter "O" instead of the number "0". So I decided that it is best for my registry checker to treat both "O" and "0" as…
lkessler
  • 19,819
  • 36
  • 132
  • 203
0
votes
2 answers

I need a number and letter generator for a project

I need the numbers and letters to be somewhat like this 0000-00-0000A. I am working on a project so when i place a coupon the random numbers and letter will appear on the coupon id where i place it at, but for every coupon the numbers and letter is…
-1
votes
1 answer

Increment Letter's in XSL 1.0

I have from XML for example the String "AA" and i need to increment it Like: AA AB AC AD AE (...) AZ BA BB (...) For example increment it for 35 times (coming from a varaible called (`xsl:variable name ="NumIncr">)) starting at AA and finishing in…
-1
votes
1 answer

Is it possible to get a text that is between numbers and letters?

if you can get a text that is between numbers and letters example: ¸¶¹¹,example⌐╙∙√∞∟ Well, the word "example" is changed to a textbox .. Obviously I would put between what has to be the word and in this case is: ¸¶¹¹, and ⌐╙∙√∞∟ Greetings and…
Universar
  • 21
  • 4