codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/C9G5MUGX
[
raw code
|
output
|
fork
]
PHP
,
pasted on Feb 26:
1
2
3
4
5
<?php
$string
=
"Hi.there"
;
$first
=
pathinfo
(
$string
,
PATHINFO_FILENAME
);
print
$first
;
Output:
1
Hi
Create a new paste based on this one
Comments: