Questions tagged [lowercase]
Lowercase characters are letters in minuscule: a, b, c, …
1,035
questions
0
votes
1
answer
105
views
Why does the validation for lowercase letters always fail?
I am writing a program that takes a password as input and validates based on the following criteria:
8 characters or more
at least one uppercase letter
at least one lowercase letter
at least one ...
3
votes
2
answers
98
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
vote
0
answers
45
views
How do I recognise lowercase characters in a UTF-8 string?
In PHP, I want to process a given string in UTF-8 format in a way that lowercase characters are treated differently from uppercase characters.
With most strings, ctype_lower() works fine. But it doesn'...
0
votes
1
answer
35
views
Issue with python's string find method returning -1
I'm trying to write a function that takes a string and returns the token positions. The function works fine when tokens = query_string.split() but if I try to use the string lower method, as shown in ...
0
votes
0
answers
18
views
What set urls in lowercase and title not containing the site name?
I catch in Google Analytics that some entries are duplicated and some don't:
For duplicated entries, one has site name in its and one doesn't. Further investigation shows that for titles having site ...
-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
0
answers
10
views
What is a is lowercase alphabetic KeySym on a Ubuntu Keyboard?
I am working with keysyms of a Linux Keyboard and need to consider the following rule:
The Shift modifier is off, and the Lock modifier is on and is interpreted as CapsLock. In this case, the first ...
0
votes
3
answers
80
views
Python - Deconstructing a list and making it lower case using .lower()
Hi I am learning Python and for an assignment, I was asked to deconstruct a list and making it lower case using .lower() method. I am confused on how to change items in my list to lowercase using ....
-2
votes
1
answer
35
views
JS: How to convert list item to lowercase and use it to get key from an object? [duplicate]
I have a list and an object and I would like to use a list value to get one of the keys' values.
let devices = ['001A2208B97D','001A2208C9FA','001A2214ADC8','001A2214A73A','001A2214B86E','001A2214A6DF'...
0
votes
2
answers
33
views
How to make a variable in a string lowercase?
I have seen this Lab assignment on here already and I chose a different route to get the same result. However I keep getting dinged on the case of the variable. The input is inserted in capital, but ...
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
1
answer
40
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
0
answers
55
views
How to convert date to lower case within a bash script without declaring variable?
I am trying to convert the date to all lower case in a bash script command.
However, I am trying not to first declare a variable and then converting.
I tried
rclone sync /home/homeassistant ...
0
votes
0
answers
16
views
Javascript - Replace all values of keys in an object to lowercase and sum existing values in an object creating new total value
I have some jumbled string values in an object and I would like to replace them all with versions that are all lowercase.
Also, I only need to know the total number of books. So i am deleting ...
0
votes
1
answer
30
views
How to solve an Attribute error when lemmatizing a list.lower()
word_patterns = [lemmatizer.lemmatize(word.lower()) for word in word_patterns]
AttributeError: 'list' object has no attribute 'lower'
I can't figure out how to fix the error. Its saying that my list ...
0
votes
3
answers
108
views
Several approaches to converting values to lowercase not working
As part of a practice challenge for a bootcamp, I've been asked to: 'Fix the jumbled string values - replace them all with versions that are all lowercase'
I've tried several approaches based on ...
-4
votes
3
answers
128
views
How to extract the extension from a file path [duplicate]
I have a file path stored as a string in Python, and I need to extract the extension from it. If anyone can share the simplest way to accomplish this task using Python suggestions or code examples I ...
0
votes
0
answers
40
views
How to make a trigger that lower input before insert in Sqlite SQL?
I made a table in SQLITE like so :
CREATE TABLE arbres(id INTEGER primary key autoincrement, essence TEXT NOT NULL)
SELECT AddGeometryColumn('arbres', 'geometry', 2154, 'POINT', 'XY');
I need to ...
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&...
-3
votes
2
answers
48
views
Why is it the lower() function not working for me? [closed]
I was just trying to make a text-adventure game but when I tried to make an if-else statement that checks the user input incase-sensitive, it doesn't work when I tried to use the lower function (or ...
0
votes
1
answer
74
views
How to make just links lowercase in a line of HTML?
I have several large HTML menu files that contain several thousand links that need to be made lowercase - but nothing else.
An entire line looks like this.
<li><strong><a href="...
0
votes
0
answers
19
views
How can I force URL parameters to lowercase in Apache2 2.4 on Ubuntu 22.04?
Apache2 2.4 (Ubuntu) force URL parameters to lowercase not working
Problem:
/apartment/Munich => /apartment/munich (all letters lowercase!!)
I ´ve tried following solutions from multiple websites
...
0
votes
0
answers
38
views
object has no attribute 'lower' for sentiment analysis
enter image description here
for sentiments analysis the data processing part show error that
It show : 'float' object has no attribute 'lower'
The error message "'float' object has no attribute '...
1
vote
1
answer
133
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)) {
...
-3
votes
3
answers
100
views
I have a program that capitalizes all words of a string. The program is working but I want to understand what the code is doing
#include <stdio.h>
char *cap_string(char *str);
int main(void) {
char str[] = "Expect the best. Prepare for the worst. Capitalize on what comes.\nhello world! hello-world 0123456hello ...
0
votes
2
answers
119
views
How to make a string lowercase without modifying the original in C?
I am working with a function that takes a pointer to a string as an argument and returns it in lower-case:
char* strLower(char* s) {
for(char *p=s; *p; p++) *p=lower(*p);
return s;
}
As of ...
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);
...
-2
votes
1
answer
187
views
How to return lowercase text in a javascript arrow function without using a return in the statement body [duplicate]
I am solving a problem for school. The problem instructs me to: "create and arrow function with the following:
accepts a parameter
does not use the return keyword
returns text passed to it as ...
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)
...
1
vote
1
answer
338
views
Making json keys lowercase Snowflake
I have a table that looks like
ID
DATE
FIRST_NAME
H&P
12
2023-02-01
JESSICA
40
99
2023-02-03
MINA
98
12
2023-01-14
JACK
12
I've created another table containing these columns as columns
by ...
-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
1
answer
99
views
Trying to create a username and convert user input to be lower case only, I'm only a student, how am i messing up for str.lower() command?
Username needs to be lower case only and no matter where i add .lower I'm not getting a lowercase value returned or on the csv file I've printed to.
Thanks in advance for any help
def main():
...
0
votes
1
answer
299
views
Convert a column of Spark dataframe to lowercase
How to convert a column value in Spark dataframe to lowercase/uppercase in Java?
For example, below is the input dataframe:
name | country | src | city | debit
----------------------------...
2
votes
1
answer
48
views
Find and change each 1st char of directory in path string
It's my 1st script in bash and I'm making a script that the bitbucket pipeline will use. I'm trying to change each 1st letter of the directory to lowerCase.
E.g.
database/Seeders/Entities/Users/...
0
votes
1
answer
74
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, ...
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
1
answer
1k
views
'DataFrame' object has no attribute 'column'
I'm trying to retrieve the column names of a dataframe, all in lower case, but that's giving me the following Attribute Error: 'DataFrame' object has no attribute 'column'.
import pandas as pd
df = ...
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
0
answers
350
views
Duplcated of How to access the original case sensitive username input in custom user storage provider of keycloak?
I developed a service provider interface (SPI) for User Federation in keycloak.
When I try to login with an existing case sensitive user, keycloak converts it to lower case, so at the end, the sent ...
-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 ...
0
votes
2
answers
346
views
Changing the language to lowercase in Next.js
Is it possible to somehow change the language "DE" from uppercase to lowercase in URL in Next.js?
The translations are handled correctly, but only the URL is still staying uppercase.
1
vote
1
answer
69
views
How to swap first and last letter case in each word after using reverse() in JavaScript
I wanna try swapping cases for the first and last letters in each word that are already reversed using the reverse function.
Let's say I have a string like this.
I am Firdaus
And I wanna make it ...
2
votes
1
answer
33
views
In Python (or any language) what does an "upper" function do to Hindi, Amharric and other non-Latin character sets?
Subject says it all. Been looking for an answer, but cannot seem to find it.
I am writing a web app that will store data in a database and also have language files translated into a wide variety of ...
0
votes
2
answers
57
views
Google sheets key sensitive search bar?
I have duplicated a browser tab and I have implemented a search bar to filter only the row for the word I am looking for... however, if I don't write the exact word (lower or upper case) nothing will ...
0
votes
2
answers
37
views
Caps and Lowercase input that also generates in output
I've been trying to put together an input where the text automatically capitalizes the first letter of each word and makes all other letters lowercase for that word. I had some success using that for ...
1
vote
2
answers
865
views
Remove punctuation and lowercase string
I have to make a code that will take a input(text) and strip it of all punctuations and make it all lowercase. I wrote the code I knew and it doesn't seem to give the outcome I wanted.
To start I made ...
-2
votes
2
answers
70
views
How to lowercase selected item in a list
I have
x= ['AA', 'BB', 'CC']
and I want to lower case only 'BB'.
-2
votes
3
answers
138
views
Write a Python function that accepts a string and calculate the number of upper case letters and lower case letters. new to programming
I have tried this solution. But I am not receiving any output. Can someone please point out my error.
def num_case(str):
z=0
j=0
for i in str:
if i.isupper():
z=z+1
...
0
votes
5
answers
365
views
How can I convert all forms of a specific word in a String to lowercase?
I'm in my first semester in coding and completely stuck on this one.
I want to get all forms of a word (ex: HeLLo, hEllO, heLlo, ...) to change to lowercase and don't know how to get there without ...