TGStat
TGStat
Type to search
Advanced channel search
  • flag English
    Site language
    flag Russian flag English flag Uzbek
  • Sign In
  • Catalog
    Channels and groups catalog Search for channels
    Add a channel/group
  • Ratings
    Rating of channels Rating of groups Posts rating
    Ratings of brands and people
  • Analytics
  • Search by posts
  • Telegram monitoring
利用AI工具搭建棋牌作弊器

6 Oct, 16:24

Open in Telegram Share Report

Prev Next
字符串函数
因为MySQL数据库不仅报含数字数据,还包含字符串,因此MySQL有一套为字符串操作而设计的函数。
通过length()函数可以获得一个字符串的长度
select length('aasdfgh');//结果为7
通过trim()函数可以让我们在剪切值时指定去除格式,还可以决定是从字符串的首部,尾部,两边剪切。
select trim(' red alter ');//去掉两边空格
select trim(leading '!' from '!!!error!!!');//去掉首部“!”符号
concat()函数将提供的参数连接成一个字符串
select concat('red','hot');//结果为redhot
这里只是简单列出几个常用的字符串函数,更多函数,请查询MySQL相关文档。

联系:@Xiaonil

2 0 0
Catalog
Channels and groups catalog Channels compilations Search for channels Add a channel/group
Ratings
Rating of Telegram channels Rating of Telegram groups Posts rating Ratings of brands and people
API
API statistics Search API of posts API Callback
Our channels
@TGStat @TGStat_Chat @telepulse @TGStatAPI
Read
Академия TGStat Telegram Research 2019 Telegram Research 2021 Telegram Research 2023
Contacts
Справочный центр Support Email Jobs
Miscellaneous
Terms and conditions Privacy policy Public offer
Our bots
@TGStat_Bot @SearcheeBot @TGAlertsBot @tg_analytics_bot @TGStatChatBot