Hi, can anyone tell me how can i check if a character is upper or lower? I dont need to convert, i just need to know if it is upper or not. Thanks
Hi Mig,
If you just want to check that string is in upper or lower case then you can follow these steps:
- Assign that string into a variable [ Ex: Name = “UIPATH”]
- check that by using if condition
if( Name.toUpper == Name)
Then
Message box : String is in upper case
else
Message box : String is in lower case
Hi @mig,
strValue.ToUpper()
→ you can use this if suppose string already in upper case it will take.
if you want to match
strValue.ToUpper()=strValue
true->upper case
false->lower case
Regards,
Arivu
Thank you all.
how do i convert “Computer System” string into "“cOMPUTEr sYSTEm” Format??
String.Format(yourString, vbStrConv.ProperCase)