Questions tagged [uppercase]
Uppercase characters are capital letters.
1,300
questions
-1
votes
1
answer
40
views
A specific regex with upper/lower case [duplicate]
I need to validate URL from a marykay.com or .ca website only.
Plus I need them to be able to have upper or lowercase
Example:
www.marykay.com/whatevertheytype
www.marykay.ca/whateverytheytype
www....
1
vote
2
answers
111
views
How to convert a string to uppercase in C
I'm trying to make all keywords from C into uppercase from a C file, but when I try to use the toupper function from stdlib it only accepts char type
#include <stdio.h>
#include <stdlib.h>
...
-1
votes
1
answer
22
views
BigQuery: UPPER case and NOT IN Cannot filter the result
My query is executed in the BigQuery, I am running a validation to verify the 'fieldID' only accept 3 values: 'Debit', 'Unknown', 'Credit'. Therefore, I executed the query to display every values, ...
1
vote
1
answer
19
views
Selecting columns to generate additional Sheet page
I'm currently using:
=FILTER('Form responses 1'!B2:E&'Form responses 1'!G2:G,UPPER('Form responses 1'!G2:G="School Name"))
This filters responses from a Google Form into the relevant ...
1
vote
1
answer
36
views
Julia DataFrames: How to efficiently convert column data and column name to uppercase/lowercase at once?
I have a DataFrame that looks like this:
5×4 DataFrame
Row │ Col_1 Col_2 Col_a Col_z
│ Float64 Float64 String String
─────┼─────────────────────────────────────
1 │ 0....
0
votes
2
answers
44
views
C Programme has stopped working while uppercase the Word
This code is not returning Uppercase Word rather it stops working.Here is the code.Where have I made mistake?
char Uppercase(char country[]){
int i;
for(i=0;i<100;i++){
...
1
vote
2
answers
60
views
Adding Characters to an Empty String in Python
I am attempting to have my program iterate over a user-inputted string and print it again, with a "u" in place of every uppercase letter, an "l" in place of every lowercase letter, ...
-1
votes
0
answers
28
views
How to template toUpper function [duplicate]
I am writing code to template a function to uppercase string for use with both std::string and std::wstring.
template <typename T>
static T toLower(const T &str)
{
T res(str);...
-2
votes
1
answer
34
views
I am using .upper in my defined function , but it do not work to uppercase the string. Can anyone tell me whats wrong in my code? [duplicate]
def Upper_case(name):
name.upper()
return name
x=Upper_case('hello')
print(x)
0
votes
1
answer
35
views
How to use Regex to lowercase catalogue values without any logic codes
For a loan domain we pass some catalogue values eg. if a customer is primary or secondary customer like that. So i need to check the values irrespective of uppercase, lowercase, camelcase. Software ...
0
votes
1
answer
39
views
lowercase only letters between brackets
i am trying to Convert everything between brackets to lowercase letters.
$text = 'AABBCC [AA] AAbbCC [Bb] aabbcc [cc]';
preg_match_all('/\([^)]+\)/', $text, $matches);
foreach ($matches[0] as $match)
...
0
votes
1
answer
15
views
MariaDb REGEXP_REPLACE not applying UCASE/UPPER in replacement
In the query SELECT REGEXP_REPLACE('an Der Mauer', '^([[:lower:]])', CONCAT('\\1', '-', UPPER('\\1')));
the result returned is 'a-an der Mauer', not 'a-An der Mauer' as I would expect. Am I doing ...
1
vote
5
answers
37
views
python uppercase letters-the same location gets printed more than once if there is more than one instance
I want to print the location of all uppercase characters in a sentence, but I don't know why, if the same letter is capitalized more than once in the same sentence, this loop keeps printing out the ...
2
votes
1
answer
68
views
How to write partial string of X labels in italics using ggplot2?
I have a data frame:
ID Strain value Type Gene
182 VFG007613(gi:27366370) Strain-1 0 X motY
183 VFG007614(gi:37679367) Strain-1 1 X motY
184 ...
6
votes
3
answers
107
views
How does one manipulate the characters of a Raku string based on case?
In Raku, a given string is to be divided into its individual characters. Each character that is an uppercase letter is to be enclosed within angle brackets, and each other character is to be enclosed ...
1
vote
4
answers
58
views
Loop through a string with variable and replace an uppercase it with # in Python
I want to loop through a string and when it finds an uppercase letter, I want to replace it with #. Like this:
string = "hOw Are yOu?"
for x in string:
if x.isupper():
string.replace(x,...
2
votes
1
answer
55
views
Which variable should I use on Python to uppercase results in type word guessing game
I'm writing a word guessing game like, what I'm expecting is that results appear in uppercase when is on the right spot. Until now, I write the program and it completely works but, let me show you... ...
1
vote
1
answer
120
views
Regular expression for uppercase, lowercase and number
My task is to validate a string that must contain at least one lowercase and uppercase character and at least one number. I don't have to check the length of this string.
I'm trying to do something ...
0
votes
1
answer
36
views
Can't figure out this segmentation fault
I'm quite new to programming and I am in the middle of doing CS50, and in this scrabble program I'm having trouble because I can't figure out which segmentation error I am making. It may be that my ...
7
votes
0
answers
85
views
Mysql ngram fulltext index doesn't work with utf8mb4_bin
I'm using utf8mb4_bin for title column so i expected it's fulltext case-sensitive search. But actually the query return empty.
CREATE TABLE `test_table` (
`id` int NOT NULL AUTO_INCREMENT,
`title` ...
0
votes
1
answer
40
views
a shorter way to change some object values to uppercase
I have a large object and need to change some values (not all of them) to upperCase
obj.state = obj.state.toUpperCase();
obj.city = obj.city.toUpperCase();
obj.street = obj.street.toUpperCase();
obj....
0
votes
1
answer
28
views
Magento Attribute-Codes with Uppercase Letters need to work
Hello Guys,
is there any possibility to make the Magento 2 Import-Module uppercase insensitive?
I have attribute-codes like "ColorName" or "BaseColor" and I need them to be working....
0
votes
2
answers
52
views
How to uppercase a cell range even if user type or paste lowercase with no warning in Google Sheet
I've made a simple table in a one of many sheets in a google sheet file and I would like a cell range of a sheet to alway appear upper case no mater what user input without any warning.
Currently I ...
1
vote
2
answers
195
views
Check if all letter is uppercase or lowercase python, if there is one word in string is different print none
For input string S, print UPPER if string S contains only uppercase characters (may contain spaces), LOWER if string S contains only lowercase characters (may contain spaces), otherwise print out NONE....
0
votes
2
answers
47
views
how to find the count of Uppercase and lowercase letters in TCL
how to find the count of uppercase amd lower case in tcl
with this code im getting only ascii values
foreach character {H e l l o T C L} {
scan $character %c numeric
puts "ASCII character ...
1
vote
2
answers
57
views
My Caesar Cipher is not returning uppercase letters (Python 3.10)
I'm working on a Caesar Cipher for my class, and it prints everything just fine. However, if I put uppercase letters in the plaintext, the ciphered text comes out lowercase.
#Main program
def main():
...
-1
votes
1
answer
43
views
Uppercase the names of multiple files in a directory in Python
I'm working on a small project that requires that I use Python to uppercase all the names of files in a certain directory "ex: input: Brandy.jpg , output: BRANDY.jpg".
The thing is I've ...
1
vote
1
answer
76
views
Change characters of checkout field in WooCommerce to UPPERCASE
How can I change the characters of the checkout field in WooCommerce to uppercase? I have changed it by CSS (text-transform) but it is changing letters to uppercase only in frontend. When customers ...
-1
votes
1
answer
53
views
Program :find Capital letter in word in python
I have a challenge that find index of capital letter in word. For example "heLLo" : the output : [2,3]
def capital_indexes():
word =input("enter your word :")
s=list(word)
...
0
votes
0
answers
27
views
Filesystems and upper/lower case characters in filenames
Needing to compact maximally the names of a lot of files in the same directory, I would like to use numbers and characters in these filenames.
0.png
1.png
..
9.png
A.png
B.png
..
00.png
..
It's ...
1
vote
1
answer
66
views
Assign a string value from one type to another type after using converting the string to upper case
The first type:
declare type roles = 'admin' | 'user';
The other type
declare type ROLES = 'ADMIN' | 'USER';
I need to assign from the first to the second, this is my current code:
const r: roles = '...
0
votes
1
answer
71
views
Compare paths & ignoring case of drive letter
I'm checking 2 program config file paths from the registry. Sometimes one gets stored with a lowercase c, the other with an uppercase C which then doesn't work with a simple string comparison.
What I ...
-1
votes
1
answer
34
views
First letter in a sentence dosn’t work in javascript (empty variable in string at a first place)
I use this (I guess typical) function to make a first letter in a sentece capital:
function firstLetteCap(string) {
return string.charAt(0).toUpperCase() + string.slice(1) }
Works perfect till there ...
-1
votes
2
answers
107
views
How do I uppercase to lowercase and vice versa COMMENTS in C
Is there any way to do uppercase to lowercase and vice versa for COMMENTS?
For example:
*** input_file.c ***
#include <stdio.h>
/* My FIRST program */
void main(void) {
printf("Hello ...
0
votes
2
answers
26
views
string editing on specific request split.upper/.lower
I'm trying to figure out how to edit the below to have a option to convert lower/upper(abc = ABC) I'd like to have a specific input that it knows to convert to the other. so input might be "...
0
votes
2
answers
79
views
capitalize first letter of string and first letter after dot
I have this string for example:
String text = 'hello. i am Gabriele. i am 21 years old!';
I would like the first letter to be capitalized and every first letter after the "." To be ...
0
votes
3
answers
148
views
How can I create random strings with uppercase and lowercase in Java?
So, I found this function on the Internet and I would like to get some guidance on making strings use uppercase letters alongside lowercase ones, the code:
import java.util.Random;
public class ...
-2
votes
3
answers
99
views
Is there a way to properly case names after user inputs their names in C#? [duplicate]
I am trying to figure out how to sort input names to right capitalization eg: tim jAmes = Tim James
I have sorted it up to where i can take in the name, but the sorting out has been doing my head in, ...
0
votes
0
answers
13
views
How to I shorten this code to comply with the DRY (Don't Repeat Yourself) principle?
I want to take words a user provides, store them in a list, and then modify those words so that every other letter is capitalized. I have working code but it is repetitive. I cannot for the life of me ...
0
votes
1
answer
34
views
How do i make this code non case sensitive?
function openPage() {
var x = document.getElementById("search").value;
if (x === "Science") {
window.open("content/main/Science.html");
...
-1
votes
1
answer
121
views
upper to lower case in c++
I'm trying to transform a string of characters from lower to upper case and the other way round on c++. All this without using libraries, and using ascii code instead.
My problem is I don't know how ...
0
votes
1
answer
196
views
Error Cannot read property 'toUpperCase' of undefined
Having an array with strings, if a string starts with a letter I want to capitalize the letter, that's all.
I'm getting Uncaught TypeError: Cannot read properties of undefined (reading 'toUpperCase').
...
-1
votes
3
answers
33
views
What is the difference between these two blocks of texts [closed]
The first function doesn't work. It shows the message "Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'toUpperCase')"
These are the codes:
//this is the one with ...
0
votes
1
answer
62
views
Convert input list with for loop into uppercase
im trying to print this input list in uppercase but i always become an attribute error. I tried many ways but i still can't solve it. could someone help me? Thank you and sorry for my english :))
x = [...
1
vote
2
answers
67
views
ASP NET Dataset Column name format
I have an ASP.Net Core 3.1 project which serves APIs.
Some of my apis interact with an Oracle DB, to get some dataset
Here is a short example of what one of my api does:
[HttpGet]
[Route("...
0
votes
1
answer
39
views
Upper case day of week in Teradata SQL
I can get the day of the week from a data but I can't seem to convert to uppercase
This is the statement I'm using:
CAST(CURRENT_DATE AS DATE FORMAT 'e4') (CHAR(9))
How can I convert this to ...
1
vote
1
answer
256
views
jQuery DataTable - Column data.toUpperCase() is not working
I tried using columnDefs to set jQuery DataTable columns to uppercase:
columnDefs: [
{
targets: [1, 2],
render: function (data) {
return data.toUpperCase();
}
}
]
This works for ...
0
votes
1
answer
92
views
Pyspark - How to get capitalized names? [closed]
How to get capitalized names?
from pyspark.sql import types as T
import pyspark.sql.functions as F
from datetime import datetime
from pyspark.sql.functions import to_timestamp
test = spark....
-1
votes
1
answer
27
views
Make lower case to a specific latter in javascript [duplicate]
please help me to make this string "SeLamAT PAGi semua halOo"
become this "Selamat Pagi Semua Haloo"
i lil bit confuse make a function
2
votes
2
answers
78
views
Does Snowflake variables in UDF need to be in uppercase?
I created a UDF to test this point:
CREATE OR REPLACE function EDW_WEATHER.CHK_READING(p_reading VARCHAR2, P_SENSOR VARCHAR2 )
RETURNS VARCHAR2
LANGUAGE JAVASCRIPT
AS
$$
if (P_SENSOR == 'A') ...