Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find a substring in a string without using substr
built in functions, and print the substring found

Answer Posted / yashwanth

$r="YASHWANTH";

@n=split (//,$r);
print "@n\n";
@t=splice(@n,0,3);

print "@t\n";
$r=join("",@t);
print "$r\n";
~
~

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps involved in configuring a server using cgi programming?

868


What is the use of command “use strict”?

979


How to print escaping characters inside a string in perl?

859


What is the difference between perl list and perl array?

831


Demonstrate subroutines in perl with a simple example.

829


List the prefix dereferencer in Perl.

899


Differentiate use and require?

904


Explain subroutine in perl?

874


Define perl scripting?

949


Elaborate on perl bite-wise operators.

868


What is the main function of cookie server?

1032


how to connect cisco switch uisng perl script

3813


What are the logical operators used for small scale operations?

928


How to access parameters passed to a subroutine in perl?

923


Explain cpan?

935