The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Determine string in Perl.
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Determine string in Perl.
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-14-2008
penchal_boddu
Registered User
Join Date: Apr 2008
Location: Bangalore
Posts: 120
Hi ,
Try this
$str="h t t p://abc.def.com/hijklm";
@arr=split(/\//,$str);
print $arr[3];
Thanks
Penchal
penchal_boddu
View Public Profile
Find all posts by penchal_boddu