Questions tagged [casing]

38 questions
0
votes
2 answers

Resharper StyleCop SA1306 and casing of Func delegates

public class MyClass { private Func KeyTransformer; public MyClass(Func keyTransformer) { KeyTransformer = keyTransformer; } public string DoSomething(string input) { return…
lapsus
  • 2,915
  • 2
  • 32
  • 61
0
votes
1 answer

Properly upper casing a lower case string

I am writing a morse code that converts text to morse and morse to text. I have gotten pretty far. The problem I have left is how to print it and maybe a smarter way to deal with the errors. I want the output of the code to be according to real…
mix
  • 49
  • 3
0
votes
2 answers

Removing Unwanted Characters

I am trying to scrub a list of items using another list and it's working fine except for its not ignoring case. When I try to add ordinal or regex casing checks, I get a syntax error. Can someone tell me what I am doing wrong? Here is my…
Jeagr
  • 1,038
  • 6
  • 16
  • 30
0
votes
1 answer

Propercase function with hypens

I've got a ProperCase function in my .Net code like so Public Function ProperCase(ByVal strValue As String) As String Dim outString As String = "" Dim badWords As String = "and, at, do, de, du, USA, UK" Dim splitter(1) As Char …
Jamie Taylor
  • 3,500
  • 21
  • 65
  • 99
-1
votes
3 answers

type cast a char into string

I am just curious the same type cast format works for char, int and maybe many others, but why it does not work for string, i.e., what's wrong with (string) 'c' behind the screen? #include using namespace std; int main(){ char a =…
Albert G Lieu
  • 891
  • 8
  • 16
-1
votes
1 answer

Proper Casing of Letters

I have a Problem here in my casing function. I used replace to change the all conjunction into a lower but still i have an error> Private Function UpCsing(ByVal sValue As String) As String Dim toConvert As String() = sValue.Split(" ") Dim…
kelvzy
  • 913
  • 2
  • 12
  • 19
-2
votes
3 answers

Multiple character casing in same TextBox

How to change character casing in TextBox? I need that 1 line character been Upper and second line character benn Lower isv.CharacterCasing = CharacterCasing.Upper; isv.Text = "Upper" isv.CharacterCasing = CharacterCasing.Lower; isv.Text = "Lower"
Wizard
  • 10,985
  • 38
  • 91
  • 165
-3
votes
1 answer

PHP: Ignoring whitespaces and casing in form validation

I'm creating an educational platform in which courses (course codes) are created. I want to be able to prevent a new course code from being inserted ignoring the case being used or use of whitespace. e.g if "PHY 101" already exists and one types in…
Godlovesme
  • 21
  • 6
1 2
3