In the system, there is a text box that requires uppercase letters. But the user does not realize it, so he has to control it in the program.
In the webpage, pull a TextBox Control:
Copy codeThe Code is as follows:
To write a Javascript script,
In the recent work, the product group of colleagues to give the data are all lowercase letters, but the engine team colleagues asked them to get from the data inside the structure of the analysis is all capitalized structure, which makes our data
(a) Title: Accept an input, if the uppercase letter is converted into lowercase letters, lowercase letters to uppercase.For example:[Email protected] hushuai]# bash 4.shInput:dingxueDingxue[Email protected] hushuai]#
Method (1)The shell code
The default in SQL statements is case-insensitive, so the statement:SQL codeSELECT * from recenginebizinfo WHERE recenginebizname = ' QQ 'AndSQL codeSELECT * from recenginebizinfo WHERE recenginebizname = ' QQ 'The results are the same.The script to
SQL statements are case-insensitive by default, so the statement:
SQL codeSELECT * FROM RecEngineBizInfo WHERE RecEngineBizName = 'qq'AndSQL codeSELECT * FROM RecEngineBizInfo WHERE RecEngineBizName = 'qq'
The results are the same.
The script
Clszh. Java
/*The form of different case combinations of scripts is as follows: -- Author: Wen min, CTO of ChenzhouScript, script,Script, script,Script, script,Script, script,Script, script,Script, script,Script*/Import java. util.
The default in the SQL statement is case-insensitive, so the statement:
SQL code
SELECT * from recenginebizinfo WHERE recenginebizname = ' QQ '
And
SQL code
SELECT * from recenginebizinfo WHERE recenginebizname = ' QQ '
The results found are the
Copy Code code as follows:
#!/bin/bash
#name: upper_to_lower.sh
#the function is Trun uper to lower
#like ABCD to ABCD
Haveuppernumber (){#test if the string have upper numberStr= "$ (echo $ | tr ' [: Upper:] ' [: Lower:] ')"If ["$str"!=
Q:
Hi, scripting guy! I have a script where users enter some information in an input box. the information needs to be entered in all-capital letters, so my instructions say, "Please make sure the Caps Lock key is on before entering the information. "
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.