case-conversion Questions
3
Solved
If I want to write a phrase like "Column 1" in snake case (the usual C way of formatting identifiers that looks like some_function), do I insert underscore between a word or a number, like column_1...
Graveyard asked 19/9, 2019 at 11:6
7
Solved
If for some reason I want to selectively convert camelCase named things to being underscore separated in Vim, how could I go about doing so?
Currently I've found that I can do a search /s[a-z][A-Z]...
Marcelenemarcelia asked 3/3, 2011 at 19:3
11
Solved
I have a variable name, say "WARD_VS_VITAL_SIGNS", and I want to convert it to Pascal case format: "WardVsVitalSigns"
WARD_VS_VITAL_SIGNS -> WardVsVitalSigns
How can I make this conversion?
Leuctra asked 5/9, 2013 at 3:11
12
Solved
Is there any ready function which converts camel case Strings into underscore separated string?
I want something like this:
"CamelCaseString".to_underscore
to return "camel_case_string".
...
...
Dorie asked 2/10, 2009 at 14:36
11
Solved
How can I convert PascalCase string into underscore_case/snake_case string? I need to convert dots into underscores as well.
eg. convert
TypeOfData.AlphaBeta
into
type_of_data_alpha_beta
Tilly asked 29/5, 2015 at 4:37
4
Solved
How can I convert names with underscores into camel case names as follows using a single Java/Perl regular expression search and replace?
underscore_variable_name -> underscoreVariableName
UNDE...
Isfahan asked 12/3, 2012 at 15:14
5
Solved
The Problem:
There is a method with a corresponding test-case that works on one machine and fails on the other (details below). I assume there's something wrong with the code, causing it to work by...
Chronopher asked 19/9, 2012 at 11:7
6
Solved
How do you do case conversion in XSL?
<xsl:variable name="upper">UPPER CASE</xsl:variable>
<xsl:variable name="lower" select="???"/>
Lenticel asked 25/2, 2009 at 14:43
5
Solved
How can I replace a set of words that look like:
SomeText
to
Some_Text
?
Joan asked 3/6, 2011 at 12:24
2
Solved
Why do the following three characters have not symmetric toLower, toUpper results
/**
* Written in the Scala programming language, typed into the Scala REPL.
* Results commented accordingly.
*/...
Klein asked 20/9, 2011 at 20:57
3
Solved
I have a string
$string= 'AbCdEf';
and I want to use the tr function to convert all the uppercase letters to lower case and all the lower case to upper case.... at the same time. I basically jus...
Friede asked 9/4, 2011 at 21:31
1
Solved
I use Google App Engine and cannot use any C/C++ extension, just pure & pythonic library to do conversion of Unicode/UTF-8 strings to lower/upper case. str.lower() and string.lowercase() don't....
Marra asked 27/1, 2010 at 9:51
1
© 2022 - 2024 — McMap. All rights reserved.