For issues with strings containing both lower-case and upper-case characters.
Questions tagged [mixed-case]
12 questions
6
votes
3 answers
How to get random string with spaces and mixed case?
I am in need of generating a random string with spaces and mixedCase.
This is all I got so far:
///
/// The Typing monkey generates random strings - can't be static 'cause it's a monkey.
///
///
///…

JohnIdol
- 48,899
- 61
- 158
- 242
4
votes
0 answers
Where to use camelCase in Python according to PEP 8?
Recently I have started working on machine learning with Python, however I'm very new to this language. I know that "Readability counts", so I have been trying to get myself familiar with the
PEP 8 coding conventions. I know where to…

tamuno
- 103
- 1
- 11
2
votes
1 answer
Capitalization after upper-case abbrevation in Go variable name
Should a struct field be named HTTPClient or HTTPclient?
user6216224
1
vote
1 answer
How to edit dbf file (from shapefile) with python keeping mixed case in field names: dbf package limitation?
I need to rename programticaly some fields in an existing shapefile. The info is stored in the corresponding dbf file, so I have used dbf package with below code (it has been simplified to be shared but it is functional):
import os, dbf
HIGH_LEVEL…

Nando
- 11
- 3
1
vote
1 answer
Win32 Edit control mixed case
I'm learning and new to this. I've searched this for a long time and can't find any answer.
Every time I type text in an Edit control, it always turned to lowercase, even when using Shift or CapsLock. I did not put any lowercase/uppercase style on…

user5962153
- 154
- 2
- 9
1
vote
5 answers
mixed-case lettering in JS function variables
/*
CS 22A
Assignment 2
Question 2
Write a function snooze that takes on parameter, day, and
returns a boolean: true if day is a weekend, false if otherwise.
If invalid argument/no argument, return false.
The parameter day may be lowercase,…

demboiz
- 141
- 1
- 7
1
vote
5 answers
Finding a string in a longer string regardless of case (and determine which case)
I'm quite new to python and programming in general and i'm currently doing an online course at Grok Online. Currently i am stuck on the second course (Robots in a line!) as the brief is to design a program that reads in a line of text and prints out…

Loki_Lokster
- 11
- 3
1
vote
2 answers
Java I/O writing, mixingcase and getExtension problems
I am changing names of all files in directory and if it's text file I am changing the content but it doesn't seem to work the name of the file is changed right but content is blank/gone heres is my code:
import java.io.BufferedReader;
import…
user3662019
1
vote
2 answers
How to generate a mixed-case hash in Python?
I am having a hard time figuring out a reasonable way to generate a mixed-case hash in Python.
I want to generate something like: aZeEe9E
Right now I'm using MD5, which doesn't generate case-sensitive hashes.
Do any of you know how to generate a…

Jay Taylor
- 13,185
- 11
- 60
- 85
0
votes
1 answer
Extract proper nouns and corresponding sentences from a dataset using python
I have a dataset containing list of sentences that have both proper nouns and common nouns in them. Example -
Google is a website
the universe is expanding constantly
I wish I had bagels for bReakfasT
the GUITAR sounded a bit off-key
The rumors of …

Prat1
- 13
- 4
0
votes
2 answers
How to check if a random mixed case word is in a string
I am trying to check to see if there is the word robot in a line. (I'm learning python. Still very new to it.) If the word 'robot' is in a line it prints something out. Same with 'ROBOT'. However, I need to know how to output when robot is in the…

finalerock44
- 65
- 2
- 11
0
votes
0 answers
Issues or bug with Snowflake pivot columns in double quotes
Are there any rules governing the use of mixed case column in Snowflake pivot tables? I have the following:
create or replace VIEW vw_tag_avg_by_qrtr_hour
as
SELECT t1.*
FROM (SELECT "Quarter Hour Time",
"Tag Description",
...
order by…

Jeffrey Jacobs
- 302
- 1
- 4