Questions tagged [letters]

251 questions
1
vote
1 answer

jQuery validation plugin - "lettersonly" function

i am quite new to jQuery and I'm trying to use the lettersonly function for my signup form. I have looked at this question already but implementing it didn't seem to work for me. Here's my code:
RadicalM1nd
  • 147
  • 1
  • 10
1
vote
2 answers

SWI-prolog not able to handle swedish letters

I have a file that is called syntax.pl. This is an excerpt from it: % ---------- % allowed_char( C ) :- number( C ), ( C >= 97, C =< 122 ) ; ( C >= 65, C =< 90 ) ; ( C >= 48, C =< 57 ) ; C = 39 ; C = 40 ; C = 41 ; C = 44 ; C =…
Sahand
  • 7,980
  • 23
  • 69
  • 137
1
vote
6 answers

string in selection Replace letters series from right

Sub strreplace() Dim strArr As Variant Dim b As Byte strArr = Array("str.", "strasse", """") For Each x In Selection Next For b = 0 To UBound(strArr) Selection.Replace strArr(b), "straße" Next b End Sub The code above should be found in a…
andrewz
  • 33
  • 3
1
vote
3 answers

Switching letters in a string in C

I'm not sure why this code does not work. This code is supposed to, for example, switch all a's in the string to b's, and all b's to a's and print the result. input: abcd a b c d Intended output: badc Code: int main() { int n, m, i, j; …
Hesham Saleh
  • 61
  • 2
  • 9
1
vote
1 answer

Typing Greek Letters on MATLAB

I've just started using MATLAB and one of my assignments requires me to use Greek letters (in particular, α). I tried copying it into the code area, and also tried using the \alpha command, none of which seem to work. I get the error message:…
ShinyPebble
  • 135
  • 1
  • 1
  • 10
1
vote
3 answers

How to count the letters in a word?

I am trying to make a Python script which counts the amount of letters in a randomly chosen word for my Hangman game. I already looked around on the web, but most thing I could find was count specific letters in a word. After more looking around I…
SikuliXUser
  • 53
  • 1
  • 2
  • 9
1
vote
1 answer

Issue displaying a letter made of asterisks

I would like to display the letter A made of asterisks. First the program will ask for the size of the letter and depending on the given size it will scale the letter to be that size. This is what I have so far, but I'm not sure what I am doing…
Frank Lun
  • 11
  • 2
1
vote
1 answer

Modify compareTo in Android

I am using the following compareTo-Method (in this case for two strings) Collections.sort(stringList, new Comparator() { public int compare(String a, String b) { return a.compareTo(b); } …
Dominik Seemayr
  • 830
  • 2
  • 12
  • 30
1
vote
3 answers

Deleting words from a set of words which contain 3 vowel letters in a row

I'm trying to: delete any word(-s) from a set of words which begins with 3 vowel letters in a row. I've been doing this on Embarcadero RAD Studio XE using C++ builder and this should work like this: a set of words is entered to the text box and…
1
vote
1 answer

Foreign letters failing when sending emails

I sometimes have to send emails in a German and I need to use ö ä ß etc... I have text written containing these letter and using alert() they appear just fine. I have code to send an email : var link = "mailto:" + SendTo + "&cc= " …
Siobhan Holubicka
  • 147
  • 1
  • 4
  • 17
1
vote
1 answer

couchdb import of letters like Ä, Ö, ü

Is there any opportunity to import a json file in couchdb with letters Like ä ü ö ? I'm only using curl at a Windows machine. After my import without ä ü ö. I Start futon and insert letters Like ä ü ö and it works. After i Export this document with…
Relaxo
  • 43
  • 6
1
vote
2 answers

How to get a random letter in VB6?

I cannot convert those I see in VB.Net I wanted to create something like a "Word Factory" So I need to produce a random letter. I managed to get a random number using this Dim x, first, last first = 65 last = 90 x = Int((last - Min + 1) * Rnd +…
AdorableVB
  • 1,383
  • 1
  • 13
  • 44
1
vote
0 answers

How do I change the color of each letter in a sentence in LaTeX?

I've been struggling in find the solution for the following problem. If I want to change the color of each letter in a sentence in latex, how can I do it? Let's say that I want to write "Merry Christmas" using the colors red and green and…
aiaragomes
  • 11
  • 3
1
vote
1 answer

Function calculating the probability of a letter in an sentence

I have a function that is supposed to calculate the number of times a letter occurs in a sentence, and based on that, calculate the probability of it occurring in the sentence. To accomplish this, I have a sentence: The Washington Metropolitan Area…
Mike
  • 662
  • 3
  • 13
  • 27
1
vote
2 answers

In a Java Memory game, how do I trigger that 2 unknown has been discovered, and make them stay revealed for the rest of the game?

I'm currently doing a java memory game that makes the user guess duplicate letters by input the coordinate of either a 2x2, 4x4 or 6x6 square, which have 2 sets of repeating letters ex. for 4x4 it would be A B C D E F G H A B C D E F G H but…
Strxex
  • 11
  • 2