$_ = "ele1 ele2 ele3 ele4 ele5 ele6"; my @abc = split(/\s+/); print $abc[3]; [download]
In reply to Re: Capturing the nth word in a string by pg in thread Capturing the nth word in a string by Roger