CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 convert Perl to PHP

Print topic Send  topic

Author Message
Helmut

Posts: 9
Posted: 09/16/2004, 10:28 AM

Hi,

I have to convert some Perl routines to PHP. But Perl is not my world.

Maybe someone can help me to convert the following if statement:

if (length($ff)<13) { return substr($ff." " x 9, 0, 12); }

the problem is the substr statement, I have no idea.

I hope, someone can advice me.

Thanks, Helmut
View profile  Send private message
Nicole

Posts: 586
Posted: 09/17/2004, 2:36 AM

Helmut,
Please refer to PHP manual
http://www.php.net/manual/en/ref.strings.php

_________________
Regards,
Nicole
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.