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

Can I use the unicode flag within a JSON schema pattern (regular expression)?

Is there a way to set the u flag and thus enable unicode regex patterns? I need to match names like Straßer, Müller, Adèle, Yiğit. /\p{L}+/u or new RegExp('\\p{L}+', 'u') would work in my case if I could use plain JS in JSON schema. The…
nuiun
  • 764
  • 8
  • 19
1
vote
2 answers

Is There an Efficient Method of Checking Which Letter is Being Used?

Let's say I have a string string str;, and it has any number of letters in it, and I want to count how many of each letter is in the string. For example, the word "Example" has 2 'e', 1 'x', 1 'a', 1 'm', 1 'p', and 1 'l'. Is there a more efficient…
Skullruss
  • 63
  • 8
1
vote
1 answer

Count occurrence of all letters in string (python)

I have a given message: message = """Nhpbz Qbspbz Jhlzhy dhz h Yvthu nlulyhs huk zahalzthu dov wshflk h jypapjhs yvsl pu aol lcluaz aoha slk av aol kltpzl vm aol Yvthu Ylwbispj huk aol ypzl vm aol Yvthu Ltwpyl.""" and i want to count the…
leniischr
  • 13
  • 2
1
vote
0 answers

which post-hoc test after welch-anova

i´m doing the statistical evaluation for my master´s thesis. the levene test was significant so i did the welch anova which was significant. now i tried the games-howell post hoc test but it didn´t work. can anybody help me sending me the exact…
1
vote
1 answer

Add subject and address directly from user input

I'm trying to let user add data and it will be directly displayed inside a pdf, i honestly don't know how, I've been trying for about ten days and I still can't figure it out, I want for example to let user enter address, name and object into…
1
vote
0 answers

Regex: In a rule between 3 and 11 alphanumeric characters, how to limit between 0 and 3 digits

In a rule between 3 and 11 alphanumeric characters, how to limit between 0 and 3 digits anywhere in the value ? I try this regex ^(?=.*\d{0,3})([a-zA-Z0-9_-]{3,11})$ but it do't work. Matches examples: AnExample01 1Hello2 123World Don't matches…
rlembo
  • 11
  • 2
1
vote
3 answers

Why does the if statement make a failure? (beginner)

I have a problem with my code. My code is a beginner number guesser. The code is supposed to write an error when the user types a letter when. I first thought to convert usrin_guess to an integer and then say "is it a string or integer" but I…
1
vote
0 answers

Is there a formula in excel to find if a two letters cell in row1 exist in row2 and 3?

I have a sheet in excel with three rows and three columns. I am looking for a formula in excel to find if the letters in first row exists in two other rows (each cell has two letters). For example this is my data: A | B | C ------+----+--- 1.…
HN265
  • 11
  • 2
1
vote
3 answers

Nested for loop for letter matrix output

Background: I've been working on nested for loop exercises. The program I'm writing is meant to take column and row data and create a letter matrix or grid using a nested for loop. I was able to get the data to compile in a grid (great!) but there…
KNichols
  • 13
  • 2
1
vote
2 answers

Given a string/text, how can I take each following pair of letters from the given string/text?

Given a string, how can I take each pair of letters ? Here is an example, given string = "asdfg", the code outputs arr[as,df,g_]; given string = "asdfgghk", the code outputs arr[as,df,gg,hk]. If the string length is odd then the last pair will be…
Gil Caplan
  • 64
  • 8
1
vote
2 answers

C Check all occurrences of a letter appear before another letter

So i have a string S consisting of N letters 'a' or 'b'. This should return 1 if all occurrences of A are before all occurrences of b and return 0 otherwise. B does not need to occur in S and A does not need to occur in S For example S='aabbb'…
ScuffedCoder
  • 376
  • 1
  • 5
  • 21
1
vote
1 answer

How to merge tab separated data (always starting with letters) into one string?

I have the following data in a file: col1 col2 col3 col4 col5 col6 ABC DEF GE-10 0 0 12 4 16 0 HIJ KLM 7 0 123 40 0 0 NOP QL 17 0 0 6 10 1 I want to merge all text information into one string (with _ between) so that it looks like in…
Angerfors
  • 11
  • 2
1
vote
0 answers

Flutter arabic letters not showing the correct color when using .withOpacity

Using Colors.white.withOpacity(0.25) on Arabic letters doesn't look the same as using the same color on English letters. The color opacity on the Arabic letters doesn't seem to cover all the letters, some parts of some letters have the full white…
akaterji
  • 11
  • 3
1
vote
1 answer

dead letter queue for kafka connect http sink

I am writing HTTP Sink plugin for Kafka connect. Its purpose is to send HTTP requests for each message in the configured Kafka topic. I want to send the message to dead letter queue in case HTTP request fails. Can I make use of dead letter queue…
1
vote
2 answers

Changing the letters of a word reformat the whole html

I have this script that is changing all the letters of a content when you hover them. Actually it changes the whole format of the page and glue all the content. I have been told that the main issue is with this part: var letters =…
Aurore
  • 696
  • 4
  • 16