SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    bjc
    bjc is offline
    Member
    Join Date
    Jan 2000
    Location
    CT
    Posts
    66
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    String truncated

    I am running into a problem when I try to locate a string that is being read from a file. I am doing the following:

    I can see the part of the string that I want to locate when I look at the file lsPS.txt. However, when Silk reads one of the lines that contains the data I'm looking for, the line is not complete. It is being truncated at about 231 chars.

    Any suggestions?

    [This message has been edited by bjc (edited 02-08-2001).]

    [This message has been edited by bjc (edited 02-08-2001).]

    [This message has been edited by bjc (edited 02-08-2001).]

  2. #2
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: String truncated

    With my app, my primary data is actual URLs. And we have a series of tests of various lengths of URLs. When I got up past 250 characters in the URL (thus 250 character string length) I started running into truncation issues. The quick-and-dirty approach I took was to split the string itself onto multiple lines in the text file, add BEGIN and END delimiters, read the file into a LIST OF SRING, go through this LIST OF STRING and put the really long string value back together into one piece. Hokey, but it did work.

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:55 PM.

Copyright BetaSoft Inc.