Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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...

  • #2
    New Coder
    Join Date
    Jun 2007
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    God, that was a dumb moment. My text editor was only showing the first 200 characters of each string. Disregard all the garbage above...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •