Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-05-2007, 09:39 AM   PM User | #1
TPTZ
New Coder

 
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
TPTZ can only hope to improve
Regarding sprintf() with larger strings...

I've several hundred lines of data in a file and I'm looking to make each one 363 characters in length, preferably by adding spaces to the end. The sprintf() function has worked in all cases for me but this one. I've come to the conclusion that there is a limit, character-wise, for the sprintf() function (and concatenation, as well, now that I've tried it). Any insight would be greatly appreciated...
TPTZ is offline   Reply With Quote
Old 08-05-2007, 10:19 AM   PM User | #2
TPTZ
New Coder

 
Join Date: Jun 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
TPTZ can only hope to improve
God, that was a dumb moment. My text editor was only showing the first 200 characters of each string. Disregard all the garbage above...
TPTZ is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:11 PM.


Advertisement
Log in to turn off these ads.