Questions tagged [capitalization]

Capitalization means changing each first letter of a string to a capital letter.

Capitalization means changing each first letter of all words in a string to capital letters. For example, "this is a test" would become "This Is A Test". In some programming languages, capitalization only makes the first letter of the string a capital, and not the first letter of each word.

412 questions
4
votes
6 answers

Force all capitals in NSTextField (Cocoa)

Is there a way to force capitals in a NSTextField? I want to create a text field for typing in Post Codes, and I want all post codes entered to use capital letters. e.g. N1 3ET instead of: n1 3et Also, I am using a regular expression, which only…
Michael
  • 1,477
  • 4
  • 18
  • 27
4
votes
2 answers

Displaying euro symbol using unicode and changing characters to uppercase

I have to accomplish this using Java Part1: Output €188 using the character primitive data type . Use a Unicode for the Euro Symbol € Part2: Change the following char variables ‘j’’o’’e’ to upper case JOE and output the result. I've used this code,…
Dan Wyer
  • 161
  • 2
  • 2
  • 7
4
votes
2 answers

First letter capitalisation with multiple cursors in sublime

In sublime if I use cmd+D to select every occurrence of 'old' the selection is case insensitive so will match old and camelOld. But when I start typing the capitalisation is not respected so i will get new and camelnew. Are there any shortcuts or…
wheresrhys
  • 22,558
  • 19
  • 94
  • 162
3
votes
1 answer

How to get content from the Wikipedia API for a movie?

I tried to get the description of the movie "Your Highness" from the Wikipedia API but it gives me nothing. http://en.wikipedia.org/w/api.php?format=xml&action=query&titles=your%20highness&prop=revisions&rvprop=content When I google "Your Highness"…
Curtis
  • 2,486
  • 5
  • 40
  • 44
3
votes
0 answers

Initial CAP After Bullet in UITextView

I think this boils down to whether there is a way to set the shift key to selected state programmatically in a UITextView? I provide users a key to insert a bullet "•" into the text view, and you typically want to capitalize the character…
DenVog
  • 4,226
  • 3
  • 43
  • 72
3
votes
1 answer

Chrome makes multiple request for same asset if capitalization differs

I'm working on a large asp.net web project that has had a number of different developers/consultants making changes to it over the last few years. I've noticed that depending on the developer, paths to images and other static content may contain…
mld
  • 519
  • 6
  • 15
3
votes
2 answers

Address Capitalization

I'm looking into using a CASS-Certified address validation service to correct user-provided street addresses at the time of entry. (Specifically, I'm looking at SmartyStreets' LiveAddress.) However, USPS dictates that a correct address must be in…
Isabelle Wedin
  • 1,345
  • 10
  • 26
3
votes
1 answer

Is there a python spelling correction library that corrects capitalisation?

I have strings that are spelled correctly but in all lower case (except for the first character), that I would like to correct for capitalisation (in English - so basically just names of things...). I tried pyspellcheck, autocorrect and symspellpy,…
3
votes
2 answers

Zend Framework: Set a validator for starting letter as Capital

For my school project, I try to make a form in Zend. I would like to insert a Validator that the first letter has to be a Capital letter. What should I change in this piece of code to make this work? $voornaam = $this->createElement('text',…
JorritK
  • 75
  • 1
  • 2
  • 9
3
votes
1 answer

lemmatization of german words (Capital letters and lower case letters)

I would like to lemmatize a list of German words, including nouns and verbs. The struggle here is that this implies words beginning with capital letters and others with lower case letters. Until now I worked with a lookup list. Here, the…
wwnpo01
  • 75
  • 6
3
votes
3 answers

Capitalize only the first letter with LAMBDA in Excel

In order to capitalize only the first letter of a text I used =UPPER(LEFT(A1,1)) & LOWER(RIGHT(A1,LEN(A1)-1)) With the introduction of LAMBDA function in Excel, how can I create a custom lambda function out of it?
ZygD
  • 22,092
  • 39
  • 79
  • 102
3
votes
2 answers

First letter auto capitalizing of v-text-field in vuejs vuetify

I am trying to captitalize first letter of v-text-field in vuejs but unbale to do. How to do this? first letter should be auto capital when i am input text like in pic.
TB13
  • 367
  • 13
  • 23
3
votes
2 answers

Google App Engine using UserProperty to link data

I am writing an application in GAE. In order to link the currently logged in user to data in my application I have been relying on equality between users.get_current_user() and members.user (see model below). Where I run into trouble is when the…
garnertb
  • 9,454
  • 36
  • 38
3
votes
1 answer

How to avoid capitalised acronyms and abbreviations from being lowercased by .capitalize()? Python

Capitalising the first letter of a sentence using .capitalize() works fine. Except when the first word of the sentence is an acronym like 'IBM' or 'SIM', which get lowercased (except for the first letter). For example: L = ["IBM", "announced",…
twhale
  • 725
  • 2
  • 9
  • 25
3
votes
6 answers

Apply drop caps to each word in a link

I'd like to recreate the menu effect seen at http://www.thedecoratorsource.co.uk using CSS fonts and drop caps. I know that I can use p.introduction:first-letter { font-size : 300%; } which will give me the first word with a larger first characerer…
Jeepstone
  • 2,591
  • 5
  • 22
  • 38