Questions tagged [letter]

a character representing one or more of the sounds used in speech; any of the symbols of an alphabet.

448 questions
1
vote
1 answer

How to change the letters in a text on hover

I'm looking for a way to change the letters in a text when you hover them. After that, they will eventually not got back to normal and stay changed. So I found a code to change the color of each letter of a text, but I'm looking for the same thing…
Aurore
  • 696
  • 4
  • 16
1
vote
2 answers

PHP regex to match all single letters followed by numeric value in string

I'm trying to get the a regex running for the following type of strings: one upper case letter followed by a numeric value. The string can consist of multiple of these letter-numeric-value combinations. Here some examples and my expected…
Balu
  • 37
  • 1
  • 5
1
vote
1 answer

Add a letter to the last \ in each line in notepad++

I would like to add a letter before the last \ in each line in Notepad++, like this: before : product\190\1017\evita-cover-art.jpg after : product\190\1017b\evita-cover-art.jpg So the letter b is added before the last \ , There are many lines,…
1
vote
5 answers

Cut m and n letters from end of string, then find number of turns to get back original string

Question: Given are a string and m and n. input 1: original string input 2: m (less than length of string): cut m alphabets from end of string and then add to begining of string. input 3: n (less than length of string) : cut n alphabets from end of…
Sree
  • 13
  • 1
  • 1
  • 5
1
vote
3 answers

Regex too have certain letters and at least one of a certain group of letters

Can someone help me with a regex statement for finding a statement using this rule? The word needs to have the letters "J, U, G" (just the letters not the order) and at least one of these letters : G, L, E, R , S So I can search a list for jugs,…
Kamran224
  • 1,584
  • 7
  • 20
  • 33
1
vote
6 answers

How do I convert letters to their corresponding number value?

I am relatively new to python. As a mini-project, I am creating a program that involves taking one-word two strings and converting each character to their corresponding letter value (e.g A = 1, C = 3, Z = 26). I want to find a way to do this without…
1
vote
1 answer

How can I sort an array by number of letters?

Trying to sort an array of strings by the number of letters of each array's value, I have this array: var list = ["rrr", "re", "r", "rrar"] And the Output would be: var list = ["r", "re", "rrr", "rrar"]; This is my code: var list =…
AlexisCP
  • 11
  • 2
1
vote
2 answers

how to grep a word with only one single capital letter?

The txt file is : bar quux kabe Ass sBo CcdD FGH I would like to grep the words with only one capital letter in this example, but when I use "grep [A-Z]", it shows me all words with capital letters. Could anyone find the "grep" solution here? My…
Lynn
  • 19
  • 4
1
vote
0 answers

"Duplicate like" specific letter removal

5645-01B 5645-01A 2002-01A 5325-01C 1812.999999 | 3265.00001 | 4723.000002 | 2190.999996 43.00000001 | 1 | 2.5 | 0 622 | …
1
vote
5 answers

Is there an easy way to check if the string starts with letters (any 4 letters)?

is there a way to check if the string begins with any 4 letters. I am looking for something like this: If string like "####*" then 'DO STUFF end if "#" is for digits, I need the same thing but for letters only. Can this be done without regEx?
Radas
  • 45
  • 7
1
vote
0 answers

Android - How to add different spacing for different characters in a TextView?

On Android, one can use the android:letterSpacing XML attribute or the setLetterSpacing(float letterSpacing) method to change the spacing between ALL characters in a TextView. Is there a way to change the spacing per character? For instance, for the…
1
vote
1 answer

How to fix this code so that it shuffles letters and has no affect on first letter and last letter, punctuation

I'm dealing with go/golang, trying to write code that takes a string and seed. It should return a shuffled string where the 1st and last letters in the word, punctuation and numbers are untouched. Example: my name is Nikki. My number is…
user12070983
1
vote
1 answer

Renaming files to structure them alphabetically in a specific order?

My problem comes down to this: I need to sort files in a specific order (the files got numbers at the beginning). Later I want to store them externally, the files are then sorted by alphabet by the system they're on, I got no influence on that…
m1212e
  • 303
  • 4
  • 8
1
vote
2 answers

How to iterate through two Python lists to get words similar in Spanish and English

I have two long lists, one with English words,the other with the Spanish translation from google.translate. The order corresponds exactly. e.g. english_list = ['prejudicial','dire','malignant','appalling', 'ratify'] spanish_list =['perjudicial',…
John Aiton
  • 85
  • 6
1
vote
3 answers

Is there a possibility to write a random letter generator as short as in python?

So I want to shorten my code and I asked myself if there is any possibility that a Random Letter generator in Java is as short as in python. In python it's just one a one liner. The following Code is my Code yet: int random = (int)…
Pereki
  • 31
  • 5