Questions tagged [uppercase]
Uppercase characters are capital letters.
1,380
questions
3
votes
2
answers
94
views
How to convert uppercase/lowercase turkish letters to each other?
I made a function that converts upper case to lower case using C.
#include <stdio.h>
#include <stdlib.h>
//İi Iı Ğğ Şş Çç Üü Öö
char toUpLow(char letter)
{
if (letter >= 'A' &&...
-1
votes
1
answer
45
views
Issue with 'upper-case' module in Node.js: ERR_REQUIRE_ESM when using require()
I am facing a problem with the 'upper-case' module in my Node.js application. I'm trying to use the upper-case module to convert a string to uppercase, but I'm encountering an error related to ESM and ...
0
votes
3
answers
93
views
Make all the first letters uppercase except for words with at max 3 characters
I have a text file that the users can edit with many strings, I would like to have all the first letters uppercase except for words with <= 3 characters that must be all uppercase.
using LINQPAD I ...
0
votes
1
answer
66
views
Excel VBA advanced filter - uppercase
I'm using the following code to do first an advanced filter. Then I need to change the filtered range (except headers) to uppercase avoiding looping as it would slow things too much. But there is ...
0
votes
1
answer
48
views
Finding uppercase letters
I am trying to find the uppercase letters and put a space before them to cut the string into words , but instead getting all the uppercase letter and inserting the space it inserts the space every ...
-1
votes
1
answer
55
views
Need to change text to upper case in JavaScript - createJs [closed]
I'm new to JavaScript and I have an HTML page with JavaScript where I need to show the text in a field with text "test text tuu" to upper case. I have tried to change it so:
this....
1
vote
0
answers
20
views
Why does setting a nullable type to null result in an "Overload resolution ambiguity"? [duplicate]
Not Understanding The Null Error Here In KOTLIN
var adam :String? = "i love MY cat"
adam = null
print(adam?.uppercase())
**So im getting an error at the
.uppercase()
and its ...
-1
votes
1
answer
36
views
Failing to convert upper to lower and vice versa user input string
I am trying to write an assembly program on emu8086 to convert upper to lower and vice versa user inputted string but it's not changing any character of the string:
.data
buffer db 10,?, 10 dup('')
....
0
votes
2
answers
76
views
X64 Assembly uppercase function
I'm learning assembly and, while trying to create a string uppercase conversion function, that receives a string and returns a UPPERCASEd string, I'm stuck on the following code:
asm_func3:
...
0
votes
1
answer
33
views
Kotlin/TeamCity environment variable to uppercase
I want to pass the value stored in "%env.VAR%" to other variable in uppercase. But I'm getting %ENV.VAR% as result.
Tried:
# "%env.VAR%" = something
val var_1 = "%env.VAR%&...
1
vote
1
answer
21
views
problems with case sensitive when migrating php site from windows apache to linux apache
I have a problem that I have not been able to solve for several days.
I have a site developed in php with codeigniter framework running on a Windows XAMPP (apache) several years ago.
I have proposed ...
0
votes
0
answers
37
views
The name of database and for each table isn't uppercase in the first letter of the word when I using JPA Hibernate
Hi everyone who read this post, I have a problem about when I tried to make Hibernate between Java code and MariaDB. When it's running, it created database and tables, but the problem is the name of ...
0
votes
1
answer
39
views
Python-docx confuses upper and lowercase in extracted text portions
I have encountered some problems in preserving the upper case of the text extracted from a .docx document with python-docx package.
I am iterating over the paragraphs of a .docx document in order to ...
0
votes
1
answer
32
views
Change first letter of each word in an array to uppercase using JS
I'm a novice, so please forgive the basic question.
I'm trying to change the first letter in each word in an array to uppercase (readline is being used for the input phrases, the first of which is '...
0
votes
1
answer
113
views
How to get uppercase hex in printf()
I am experimenting with the following code. It outputs a in hex, sa in decimal.
I cant figure out how to “Upper Case” the value for a as “F”.
#include <stdio.h>
Void foo()
{
int a = 10;
...
0
votes
0
answers
63
views
How to target variable names in uppercase without including the data type
I am trying to write a test in Python that flags variable name chars that are upper case. However some of the data types I am targeting are also written in upper case. How would I split the text in ...
0
votes
0
answers
47
views
JSON files ingestion in SNOWFLAKE with diferent column structure
I have a Variant column in a table where I'm storing a JSON that looks like this:
{
"Cash": null,
"Id": "511",
"Code": "Test"
}
I must ...
1
vote
2
answers
33
views
How to identify UPPER case strings and move place
I have created this pandas dataframe:
ds = {"col1":["ROSSI Mauro", "Luca Giacomini", "Sonny Crockett"]}
df = pd.DataFrame(data=ds)
Which looks like this:
print(...
0
votes
0
answers
31
views
How to change each column and row from a CSV file to upper case? [duplicate]
existing code:
$in = Import-Csv .\in.csv
$TextInfo = (New-Object System.Globalization.CultureInfo("en-US")).TextInfo;
$in | ForEach-Object { $_.name = $textInfo.ToUpper($_.name) }
$in | ...
0
votes
0
answers
97
views
Case-sensitive primary key recognition with case-insensitive filtering in database table
I'm facing a challenge when filtering values in a database table that involves considering case sensitivity for primary key recognition, while simultaneously allowing for case-insensitive filtering. ...
0
votes
2
answers
47
views
Jacascript: String puzzle with upper and lower case - one character not right
Input: aHtuE
Expected Output: A-Hh-Ttt-Uuuu-Eeeee
Actual Output: A-HH-Ttt-Uuuu-Eeeee
The function takes a string (in this example "aHtuE") and the output should be "A-Hh-Ttt-Uuuu-Eeeee&...
0
votes
2
answers
66
views
Split rows by abbreviation in Azure Data Factory
I am trying to split my column 'State' by abbreviating only the first 2 letters and also making it uppercase in the final output. As you can see from the example there is Ohio, Wisconsin, and Illinois ...
1
vote
1
answer
131
views
Upper and Lower Case Combination Power BI
I have a string of data where EXpC means Airplane and EXPC means Airplane Parts, but in Power BI is recognizing all as airplane, how do i deal with this?
I try many ways but is not working
-2
votes
1
answer
52
views
How to make only one letter in string uppercase?NOT the first one in JS
function checkA(string1) {
let a = "a";
let A = "A";
let text = string1;
if (text.includes(A)) {
return text.toLowerCase(A);
} else if (text.includes(a)) {
...
1
vote
0
answers
30
views
Upper function converting special language characters to english words in BigQuery
I have to use upper function to convert a value in upper case. Value contains special characters as shown: GothaER Straße KAISTRAßE HØJBRO plads QUAI À LA Chaux. Upper function is converting value in ...
1
vote
0
answers
123
views
Java date format "25 May MON" instead of "25 May Mon" - "d MMM EEE"
Is is possible to format a date like 25 May MON (not 25 May Mon)? Or do I have to format the date twice ("d MMM" and "EEE"), then call uppercase for the second string and then join ...
0
votes
1
answer
35
views
how to set spanteks regardless of uppercase/lowercase?
how to set spanteks regardless of uppercase/lowercase?
I have a desire to make input spantext irrespective of uppercase or lowercase
onCreate
String s = "aAaAaAa";
textview1.setText(s);
...
0
votes
0
answers
32
views
How can I check for letters in a called array? [duplicate]
I have a code but it doesn't work as I want. I need to call (or print) the initial letter of each element in the array as uppercase.
Or alternatively: automatically converting the first letter of ...
2
votes
1
answer
49
views
How to upper all columns from DataFrame except columns from list if columns from list exists in DataFrame in Python Pandas?
I have DataFrame in Python Pandas like below (my real DF has many many more columns):
Input data:
COL1 | col2 | col3
------|--------|-------
X | 11 | 2021
Y | 22 | 1990
...
0
votes
0
answers
33
views
Reversed String in R (lower case symbols to upper case symbols and vice versa) [duplicate]
I need to write a function that would make string reversed.
For example, the string 'UPPER lower' should become 'upper LOWER'
I've tried doing this:
mirror_case <- function(x){
temp = toupper(x)
...
0
votes
2
answers
234
views
the tag <mesh> is unrecognized in the browser
The tag <mesh> is not recognized in the browser. I am building a react and three.js project for which my 3D model is not loading. I tried many ways by seeing the documentation and other things ...
0
votes
2
answers
151
views
How to reverse a sentence in C and display it uppercased?
I have a program that works but not the way I wanted, I want to write sentences back to front and in uppercase, but now I am reading the first word from the sentence and the answer is 1 word in ...
-2
votes
3
answers
133
views
Upper and lower case in Python [duplicate]
I want to do a program where I have this input: New Word
and this output: NeW wOrD
def changeCase():
i=0
while i <= len(word):
if((i%2)==0):
print(word[i].upper())
else:
print(word[i]....
0
votes
2
answers
153
views
Upper before Concat in Postgresql
Assuming there is a table called cities with columns name and country, why doesn't this query work?
select
concat(upper(name, ', ', country)) as location
FROM
cities;
But the one below does?
...
0
votes
1
answer
28
views
How does the User's input meet the requirements chosen?
So, I want the code to see the user's input and meet the requirements of my choice. Let's say I want the user to input a password, but it must be 8 letters long or higher and have one letter in ...
1
vote
1
answer
373
views
Go, to unmarshal into uppercase keys
Following up on Keys are always lowercase?
#923,
I'm looking for the easiest way for me to unmarshal an unstructured yaml into GolangCasing keys. Details --
Take a look at
https://go.dev/play/p/...
1
vote
2
answers
71
views
How To Horizontally Center Align Only The Uppercase Cells from a Range with Google Apps Script in Google Sheets?
I have a question similar to this one.
Change Google Spreadsheets cell horizontal alignment using python
My sample sheet
The sample sheet was inspired by this Youtube Tutorial
uses a QUERY formula (...
0
votes
2
answers
125
views
How to extract an uppercase word from a string in Postgresql only if entire word is in capital letters
I am trying to extract words from a column in a table only if the entire word is in uppercase letters (I am trying to find all acronyms in a column). I tried using the following code, but it gives me ...
-2
votes
2
answers
140
views
How can I split and give uppercase to a string at the same time?
I have this string, I am fairly new to python and I just need help doing this.
def this_sentence(My friend went on a tour)
I want the Output to look like this
['MY', 'FRIEND', 'WENT', 'ON', 'A', 'TOUR'...
0
votes
2
answers
155
views
Console.log Input with first letter capitalized
Started a bootcamp at one of our first tasks is to write a simple program that asks for the users input and logs it to the console.
My code is working but the last subtask isn´t working.
When the ...
0
votes
0
answers
74
views
Toogle between upperCase and LowerCase Switch on a submitted form
I am making a website where customers can submit a form with their personal data, like address, phone and email. The form sends the submitted data to an "Answers page" where the company can ...
0
votes
0
answers
54
views
How to change name of file while creating it in python?
I need to take one file and take all of the data and place it into a new file.
I have opened a file in the new directory where all of the new files go. I have it creating a name and doing .upper() for ...
0
votes
1
answer
73
views
How do I match a regex group and its lowercase version?
This is an example of what the regex would and wouldn't match:
# Matches
AAAA: aaaa
# Matches
ABCD: abcd
# Doesn't match
AAAA: abcd
# Doesn't match
AAAA: AaAa
How can I accomplish this?
I found this, ...
1
vote
1
answer
278
views
Regexp_replace collides with German umlaut ü, ö, ä
I am writing a macro in dbt with SQL to clean names. I elegantly wanted to upper the first letter of the names but my
regexp_replace('(\w)(\w*)', x -> upper(x[1]) || lower(x[2])
collides with the ...
0
votes
0
answers
40
views
Joomla 3.9 replaces CAPITALS in URL variables
I have website on Joomla 3.9 which repaces all letters in url to lowercase. It is good for SEO, But it is bad for Google Analytics, cause it cant find it's variable, cause Joomla made it lowercase.
I ...
0
votes
2
answers
156
views
REGEX: Allow only UPPERCASE and some special caracters and exclude all lowercaracters accents
i've a problem with my regex
here my rules :
authorize UPPERCASE
Exclude lowercase and accent
authorize(edited) Exclude only thoses special caracters & ' ( ) . _
my regex is actually :
/^[A-Z][A-...
1
vote
1
answer
93
views
Regex for complex uppercase-lowercase scenarios
I'm working on an app that adapts text to braille specifications and it has some tricky rules on how to handle uppercase, I'd like some help.
The rules are:
Before a single uppercase letter, add &...
1
vote
2
answers
89
views
How to delete spaces in string and write first letter uppercase?
I am trying to delete every space between words and uppercase every letter of a word with foldr.
I have tried it with map:
deleteSpaces:: String -> String
deleteSpaces word = (filter(not . isSpace) ...
-1
votes
2
answers
379
views
Javascript check if first character is number, upperCase, lowerCase or special character
The goal is a program that checks if the first character they type is a number, uppercase letter,
lowercase letter or a special character/other.
Number works absolutely fine, but my task has to ...
1
vote
1
answer
60
views
How to find ls only files with uppercases in name?
I want to filter only files and folders with name start with 2[A-Z] (uppercase only):
ls -recurse | Where-Object {$_.name -match '2[A-Z]'}
But it still returns lowercase files. Reading the -match ...