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
2
votes
5 answers

How to separate a string by Capital Letter?

I currently have to a code in ABAP which contains a String that has multiple words that start with Capital letters/Uppercase and there is no space in-between. I have to separate it into an internal table like this: INPUT : NameAgeAddress OUTPUT…
Mick
  • 111
  • 3
  • 11
2
votes
1 answer

form_for does not capitalize

The view doesen't capitalize first_name and last_name. Both of them are stored in downcase inside the db. In the model I have the following getters either for first_name and last_name: def first_name string_to_return =…
Joe
  • 1,747
  • 3
  • 17
  • 24
2
votes
4 answers

In a paragraph how to make every first letter of the word into Capital letter using PHP

I am having a paragraph and i want to make every first letter of the word into a capital letter using PHP. ex: converting every first letter into capital letter. should convert into Converting Every First Letter Into Capital Letter. Thank You
KillerFish
  • 5,042
  • 16
  • 55
  • 64
2
votes
2 answers

How to capitalize every beginning of a sentence in a text in python?

I want to create a function that takes as an input a string which is a text, and I want to capitalize every letter that lies after a punctuation. The thing is, strings don't work like lists so I don't really know how to do it, I tried to do this,…
2
votes
1 answer

First letter capitalization for EditText with GBoard input

I'm trying to set up "First letter capitalization" progrommaticaly (because I have set of EditText in ListView) There is a lot of topic related to this issue, and the most famous is that I guess. I've tried solutions provided there…
Siarhei
  • 2,358
  • 3
  • 27
  • 63
2
votes
1 answer

Capitalize the first letter of a result set

I have this SPARQL code that is meant to work on Wikidata: SELECT ?game (group_concat(distinct ?gameLabel ; separator = ", ") AS ?gameLabels) (group_concat(distinct ?genreLabel ; separator = ", ") AS ?genreLabels) WHERE { …
posfan12
  • 2,541
  • 8
  • 35
  • 57
2
votes
1 answer

Turkish uppercase dotted i issue in Angular 2 capitalization pipe

I have a capitalization pipe. Almost all characters are capitalized. Turkish 'ı' character is converted correctly into 'I'. However, the 'i' character is converted to 'I' when it should be converted into the 'İ' character. Example 1: ırmak => Irmak…
NadirCan KAVKAS
  • 159
  • 1
  • 4
  • 15
2
votes
3 answers

Edittext first letter not auto capitalizing

Hello I am facing a problem with my edittext. the xml of the Edittext is pasted below :
2
votes
1 answer

Regex capitalise first letter of words more than 3 chars, and after hyphens and apostrophes

Basically... I'm trying to perform custom capitalisation on a string; I've spent a few hours fighting with Regex to no avail... Requirement: I need to capitalise: If first word >3 chars: First letter of the first word. If last word >3 chars: First…
Matthew Hudson
  • 1,306
  • 15
  • 36
2
votes
3 answers

How to capitalize all but some letters in R

I have a dataframe in R with a column of strings, e.g. v1 <- c('JaStADmmnIsynDK', 'laUksnDTusainS') My goal is to capitalize all letters in each string except 's', 't' and 'y'. So the result should end up being: 'JAStADMMNIsyNDK' and…
Thigers
  • 23
  • 4
2
votes
2 answers

Batch Why Do Drive-Letters Become Uncapitalized

In batch, when I change to a different drive capitalized, it automatically corrects the capitalization of everything except fr the drive letter except fr when the new drive I am cding to is the same drive i'm currently in. Like so (this is just an…
2
votes
4 answers

Javascript to make a text field have capital first letter and rest lower case

I am using a form software that has limited editing capabilities, however allows to add java script. Normally I would like to use PHP for something like this, but in this case i will have to use Javascript, which I have very little experience…
Shane
  • 21
  • 1
2
votes
1 answer

Convert a String to title case in android

Before marking my question as duplicate, notice that there is a fundamental misunderstanding in that thread as to what "title case" means. In the english language, Title Case is not the same as having each word capitalized. In a title, we…
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199
2
votes
5 answers

Visual studio 2013 won't accept an uppercase E

I have not (knowingly) created or reassigned any keyboard shortcuts, and thought that I should be at using only 'default' keyboard shortcuts. But when I attempt to type an uppercase 'E', the status bar displays, "(Shift+E) was pressed. Waiting for…
2
votes
1 answer

C# boolean capitalization

I'm working in python with a c# library I occasionally have to edit. In python, booleans are specified as True/False. In c#, as true/false. This is driving me crazy. Is there a way to use #define or something to make c# recognize True/False as…
Carbon
  • 3,828
  • 3
  • 24
  • 51