[ create a new paste ] login | about

Link: http://codepad.org/3gM1439t    [ raw code | output | fork ]

PHP, pasted on Nov 29:
1
2
3
4
5
<?php

$text = 'blabla.com?weori&';
$trimmed = rtrim($text, " &");
echo $trimmed;


Output:
1
blabla.com?weori


Create a new paste based on this one


Comments: