On 05 Jul 2001 11:31:32 -0400, F.H wrote:
> Hi,
> I'd like to be able to print a string at a specific location . Is there any function 
>that does that.
> $test = "abcd';
> I want to print $test at position 20-25.
> I appreciate if someone can help
>  
> Thanks
> I.S
> __________________________________________________________________
> Get your own FREE, personal Netscape Webmail account today at 
>http://webmail.netscape.com/
> 

Try perldoc -f substr

<code>
$test = "This that and the other: foo bar baz foobar foobaz";
print substr($test, 19, 5), "\n";
</code>

<output>
ther:
</output>

--
Today is Sweetmorn, the 40th day of Confusion in the YOLD 3167
Keep the Lasagna flying!


Reply via email to