ASC function
Returns the ANSI character code corresponding to the first letter of the string.
Asc(string)
The string argument is any valid string expression. If the string argument contains no characters, a run-time error occurs.
Description
Comments: Some people in the QQ group are selling web horses. The netizen spent money to get a share for me and let me see. So we have the following article. 1. Exploring the Web horse to open the Web horse in the browser. This web horse has simple
This paper illustrates the method of implementing ASC to Chinese character and Chinese character conversion asc by JavaScript. Share to everyone for your reference, specific as follows:
We often write Java programs will use the properties file,
Import OS
Import time
# New Add feature, use the ' to ' list all *.mel file in current folder, Ver 0.80 2014-1-21 by Homer
Import Glob
# redirection the work space path.
PATH_CWD = OS.GETCWD ()
Os.chdir (PATH_CWD)
# Use a list of content all
Asc Functions
Returns the ANSI character code corresponding to the first letter of the string.
Asc (String)
StringThe parameter is any valid string expression. IfStringIf the parameter does not contain characters, a runtime error
PHP gets the first letter of Chinese pinyin
Copy CodeThe code is as follows:
function Getinitial ($STR)
{
$asc =ord (substr ($str, 0, 1));
if ($ASC {
if ($asc >=48 && $asc Return ' 1 '; Digital
}elseif ($asc >=65 && $asc return Chr ($ASC);
One, JIS function
Grammar: JIS (text)
function to convert half-width characters to full-width characters.
The text parameter is mandatory and cannot be omitted.
Instance:
For example, the =jis ("G") function returns the full angle of the letter
About ASC Ⅱ code in php: this is a detailed page of ASC Ⅱ code in php. it introduces php, related knowledge, skills, experience, and some php source code.
Class = 'pingjiaf' frameborder = '0' src = 'http: // biancheng.dnbc?info/pingjia.php? Id = 3366
First, Widechar
function Purpose: Converts single-byte characters to double-byte characters.
Grammar:
Widechar (text)
Description: Text is a literal that needs to be converted to double-byte characters or a cell reference that contains text.
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.