PHP如何去掉最后一个字符?
在PHP中可以使用“rtrim()”函数去掉最后一个字符,该函数用于删除字符串末端的空白字符或者其它字符,其语法是“rtrim(str,char) ”,其参数str表示要操作的字符串,参数char表示要去除的字符。
使用范例
以上例程会输出:
string(32) " These are a few words :) ... "
string(16) " Example string
"
string(11) "Hello World"
string(30) " These are a few words :) ..."
string(26) " These are a few words :)"
string(9) "Hello Wor"
string(15) " Example string"
文章来源于互联网: PHP如何删除最后一个字符?
Get warning information here. Drugs information sheet.
https://nexium.top/# get nexium without prescription
Read information now. drug information and news for professionals and consumers.
Actual trends of drug. What side effects can this medication cause?
oral ivermectin cost
Prescription Drug Information, Interactions & Side. earch our drug database.
Everything what you want to know about pills. Get warning information here.
https://stromectolst.com/# ivermectin uk
Get warning information here. Get information now.
Comprehensive side effect and adverse reaction information. All trends of medicament.
stromectol drug
Get information now. п»їMedicament prescribing information.
Get here. Learn about the side effects, dosages, and interactions.
ivermectin generic name
Some trends of drugs. Some are medicines that help people when doctors prescribe.
Get information now. All trends of medicament.
ivermectin
Comprehensive side effect and adverse reaction information. Read here.
Get warning information here. Some are medicines that help people when doctors prescribe.
https://stromectolst.com/# stromectol oral
Learn about the side effects, dosages, and interactions. Drug information.
Some are medicines that help people when doctors prescribe. Top 100 Searched Drugs.
https://stromectolst.com/# buy stromectol uk
Some are medicines that help people when doctors prescribe. Cautions.
Everything about medicine. Some trends of drugs.
cost of ivermectin
Generic Name. Comprehensive side effect and adverse reaction information.
Read information now. Get here.
https://stromectolst.com/# stromectol 3mg
Medicament prescribing information. Everything about medicine.
Comprehensive side effect and adverse reaction information. Read now.
https://stromectolst.com/# generic ivermectin cream
Read information now. Drugs information sheet.
Prescription Drug Information, Interactions & Side. п»їMedicament prescribing information.
https://stromectolst.com/# stromectol ivermectin tablets
Read now. Best and news about drug.
Generic Name. What side effects can this medication cause?
https://stromectolst.com/# generic stromectol
Commonly Used Drugs Charts. Read here.