AgerNic.com/ro
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
Tutorial
Funcția trim() elimină spațiul alb și alte caractere predefinite din ambele părți ale unui șir, anume, de la inceputul si sfarsitul unui sir de caractere.

Funcții conexe:

ltrim () - Elimină spațiul alb sau alte caractere predefinite din partea stângă a unui șir
rtrim () - Elimină spațiul alb sau alte caractere predefinite din partea dreaptă a unui șir
Exemplu:
<?php 
$abc = "Buna Romania!";
echo $abc. "<br>";
echo trim($abc, "Bua!");
?>
Tags: trim(), exemple

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news templates
Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.


CSS HTML Layout
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


analytics piwika