❮ PHPhường String Reference

Bạn đang xem: Ham rtrim php

❮ PHPhường. String Reference

"; emang đến rtrim($str,"World!"); ?>

❮ PHP String Reference

Definition và Usage

The rtrim() function removes whitespace or other predefined characters from the right side of a string.

Related functions:

ltrim() - Removes whitespace or other predefined characters from the left side of a string trim() - Removes whitespace or other predefined characters from both sides of a string


❮ PHP. String Reference

Parameter Values

Parameter Description string Required. Specifies the string khổng lồ kiểm tra charlist Optional. Specifies which characters to remove sầu from the string. If omitted, all of the following characters are removed: "" - NULL " " - tab " " - new line "x0B" - vertical tab " " - carriage return " " - ordinary Trắng space

Technical Details

Return Value: Returns the modified string PHP.. Version: 4+ Changelog: The charlist parameter was added in PHP. 4.1

More Examples

❮ PHP. String Reference

"; emang lại "With rtrim: " . rtrim($str); ?>

❮ PHPhường String Reference

Without rtrim: Hello World!    
With rtrim: Hello World!

Xem thêm: Tkb Phần Mềm Tkb Miễn Phí - Phần Mềm Xếp Thời Khóa Biểu

"; emang đến "With rtrim: " . rtrim($str); ?>

❮ PHP.. String Reference

Without rtrim: Hello World!
With rtrim: Hello World!
Tabs Dropdowns Accordions Side Navigation Top Navigation Modal Boxes Progress Bars Parallax Login Form HTML Includes Google Maps Range Sliders Tooltips Slideshow Sort List

Report Error

If you want to lớn report an error, or if you want to lớn make a suggestion, bởi not hesitate to skết thúc us an e-mail:


❮ PHP String Reference

❮ PHP String Reference

Top Tutorials HTML Tutorial CSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Pynhỏ Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery Tutorial
Top References HTML Reference CSS Reference JavaScript Reference Squốc lộ Reference Pynhỏ nhắn Reference W3.CSS Reference Bootstrap Reference PHPhường Reference HTML Colors Java Reference Angular Reference jQuery Reference
Top Examples HTML Examples CSS Examples JavaScript Examples How To Examples SQL Examples Pynhỏ nhắn Examples W3.CSS Examples Bootstrap Examples PHP Examples Java Examples XML Examples jQuery Examples
Web Courses HTML Course CSS Course JavaScript Course Front End Course Squốc lộ Course Pydong dỏng Course PHPhường Course jQuery Course Java Course C++ Course C# Course XML Course Get Certified »
obatambeienwasirherbal.com is optimized for learning & training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all nội dung. While using obatambeienwasirherbal.com, you agree to have read và accepted our terms of use, cookie and privacy policy. Copyright 1999-2021 by Refsnes Data. All Rights Reserved. obatambeienwasirherbal.com is Powered by W3.CSS.