Results 1 to 5 of 5

Thread: How to display Tab Char in a FlexGrid Cell

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    hongkong
    Posts
    251
    Dear All Friends,

    Greetings,
    If my string contains Tab characters like:

    05/03/1999 0001 CHEUNG KONG 70.50 71.0 69.25 70.25 3246600


    but I wish to display the string within one column only, how can I achieve this because FlexGrid can automatically detects a Tab char and sepearate the next item into a new column?

    Thanks

  2. #2
    Member
    Join Date
    Nov 2000
    Location
    Vienna, Austria
    Posts
    62

    try

    try to use 'chr(9)' as the TAB inside your string.
    Life is trip, eat it and smile.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    hongkong
    Posts
    251

    Re: try

    Originally posted by Comora
    try to use 'chr(9)' as the TAB inside your string.
    But the string is not made by me, it's read from a text file. So I wonder this can't be done. Thanks.

  4. #4
    Member
    Join Date
    Nov 2000
    Location
    Vienna, Austria
    Posts
    62

    split

    Well, try to split the String, add chr(9)s and put it together again. It should be easy if the data is always in the same format.
    Life is trip, eat it and smile.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2000
    Location
    hongkong
    Posts
    251

    OK Thanks

    I think this is also the only way out.
    Thank you for your kind attention,

Posting Permissions

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



Click Here to Expand Forum to Full Width