Home > Web Front-end > JS Tutorial > Relationship between characters and mathematical functions

Relationship between characters and mathematical functions

php中世界最好的语言
Release: 2018-03-26 09:25:55
Original
1605 people have browsed it

Relationship between characters and mathematical functions

Relationship between characters and mathematical functions

select charset('你好');
select concate('nihao', 'mysql','java');
select concat('你好');
select instr('www.baidu.com', 'baidu');
Select ucase('abc');
Select lcase('ABC');
Select left('abcdefg',3);
Select length('abc');
select replace('www.baidu.com', 'baidu', 'qq');
select strcmp('abc','abc');
select strcmp('abc','ABC');
select substring('www.baidu.com ',3,5);
select ltrim(' abc');
select rtrim(' abc');
select length rtrim(' abc');
select length (rtrim(' abc'));
select abs(1);select abs(-1);
select bin(3);select ceiling(1.1);
select floor(1.1);
select conv(10, 10, 2);
select format(2.222333, 0);
select hex(10);
select least(2, 4, 5, 6, 10);
select mod(10, 3) ;
select rand(0,10);
Copy after login

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website!

Recommended reading:

How to sort according to the key value size of the array

Laravel implements multi-user authentication system

Real-time search prompt implemented in PHP

The above is the detailed content of Relationship between characters and mathematical functions. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template