Questions tagged [letters]

251 questions
1
vote
1 answer

Check is character is in array while typing

I have a problem with my jQuery code. I want to check characters from strings which is in array while user typing something in the input. var postcodes = ["00-240","80","32","90","91"]; $('input[name="text-391"]').keyup(function(){ var header =…
dtx
  • 241
  • 1
  • 11
1
vote
3 answers

How to get the index of a letter from a list A-Z?

I want to get the index of a particular letter, e.g. > match(LETTERS,"G") [1] NA NA NA NA NA NA 1 NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA Gives me that the letter exists, but I want it to return 6 in this case for the 6th…
John
  • 5,139
  • 19
  • 57
  • 62
1
vote
3 answers

Combine random letters and numbers

Does any of you know how to add random letters aswel as random numbers. thanks for you help.
user1
  • 39
  • 1
  • 8
1
vote
1 answer

PDFjet doesn't show letters like ş ı ğ ç

I use PDFjet. In some cases I get into trouble when I generate latin alphabets from central or southern european languages such as turkish, hungarian, czech. Especially letters like ş ç ğ ı are not shown in my generated pdf text. Any ideas how to…
Ramses
  • 652
  • 2
  • 8
  • 30
1
vote
4 answers

How to change String value comparison

In my code I need to compare string letters but my problem is that lower case letters are greater than upper case letter. For example Z < a. How could I implement this in my code ? Thanks
Bernard Larouche
  • 1,211
  • 2
  • 13
  • 22
1
vote
1 answer

D3 - how to include č,š,ž letters in D3

I'm beginner in D3. I would like to know how to include in text letters like č,š,ž.. I included line with utf-8: I also tried this in the head: Letters…
mateja
  • 11
  • 3
1
vote
3 answers

How to get all permutations of letters as well as case for a string in python?

How to get all possible combination of cases as well as letters for a string in python? Example input:'ab' output:aB', 'Ba', 'BA', 'Ab', 'AB', 'bA' input : 'dan' output:aND', 'ANd', 'Dna', 'naD', 'DaN', 'aDn', 'Adn', 'dnA', 'NdA', 'anD',…
1
vote
2 answers

Matching a letter from any language spoken

.NET, Java, Perl, PHP, Python3(?) all support PCRE's \p{L} regex that matches unicode character representing a letter, but there is no such a shortcut in JavaScript (as far as I know)... I'm working on a library focused on string manipulations, and…
public override
  • 974
  • 8
  • 17
1
vote
6 answers

Create a new string that will consist of common letters from other two strings

I'm new to C programming. I have a task to do. User inputs two strings. What I need to do is to create a new string that will consist only from common letters of those two given strings. For example: if given: str1 = "ABCDZ" str2 = "ADXYZ" the new…
Mr. L
  • 101
  • 12
1
vote
1 answer

Change Locations of each letter in home made captcha

So my home made captcha displays the text in a straight line but I think because of this, the bots can still sign up - they're getting in. Can someone show me how to revise my code below to add a function or something that would make each letter…
DK1
  • 25
  • 4
1
vote
1 answer

Ignoring capital letters when reading from file in PHP

I am working on a program that reads a text file, looks for a word and then depending on whether the word is found displays different outcome. Is there a way to ignore the capital letters? So for example when I am looking for a word respond it will…
dmae
  • 57
  • 1
  • 6
1
vote
1 answer

How does the computer draw a letter?

I'm interested in creating a program capable of recognition of numbers, letters, symbols from an image. But first off, I went ahead and started to think about: How your system displays a letter? There are so many fonts, font-sizes and other…
Guillermo
  • 99
  • 1
  • 6
1
vote
1 answer

Remove dynamically only the letters from a specific element, and wrap it in SPAN

If I have an element like: 0 Updates Can I remove only the letters dynamically? And it is possible to wrap it in a SPAN? I need it to be like this:
George
  • 540
  • 4
  • 8
  • 23
1
vote
1 answer

language in application Android

I have some RSS feed in XML which I am receiving in my Android app. The idea is simple, its just receiving RSS updates and showing them. I managed everything except showing some right words. The problem is that the Data is written in other language,…
Igx33
  • 171
  • 1
  • 2
  • 10
1
vote
3 answers

Regular Expression for all letters in all alphabets with spaces exept anything else

I'm trying to make a name field filter with jQuery and I tried so many regular expressions and no of them work fully. All I need is to make the name field as the name field - nothing else, e.g. Adam Jeremy Smith for example. So there would be no…
Ilia Ross
  • 13,086
  • 11
  • 53
  • 88