Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7786779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:28:39+00:00 2026-06-01T20:28:39+00:00

i have this table: List<string> Total HTTP Packets 727 0.004459 HTTP Request Packets 372

  • 0

i have this table:

List<string>

 Total HTTP Packets              727       0.004459
  HTTP Request Packets            372       0.002281          51.17%
   GET                             372       0.002281         100.00%
  HTTP Response Packets           353       0.002165          48.56%
   ???: broken                       0       0.000000           0.00%
   1xx: Informational                0       0.000000           0.00%
   2xx: Success                    337       0.002067          95.47%
    200 OK                          331       0.002030          98.22
    204 No Content                    5       0.000031           1.48
    206 Partial Content               1       0.000006           0.30
   3xx: Redirection                 10       0.000061           2.83%
    302 Found                         3       0.000018          30.00
    304 Not Modified                  7       0.000043          70.00
   4xx: Client Error                 6       0.000037           1.70%
    408 Request Time-out              6       0.000037         100.00
   5xx: Server Error                 0       0.000000           0.00%
  Other HTTP Packets                2       0.000012           0.28%

i want to parse this table into array (each line into 4 parts) but my problem is the first column because the string length changed.
i tty to split each line with Tab but unfortunately i did dot contain Tabs.
what is the best way to do it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T20:28:40+00:00Added an answer on June 1, 2026 at 8:28 pm

    I would use a regular expression (Regex class). Regular expressions rock for exactly this reason. Alternatively, if you’re getting the input as XML (which it doesn’t seem like you are), XPath might work for you too.

    I prefer regex, because it’s simpler to write. You probably just need to know that \s represents empty space. The best place to write it is over at Rubular, where you can paste your content, type your regex, and see as you type how things match.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large table with list of scores like this, one score per
I have a list of checkboxes in a table like this along with a
I have this table Test { Id:int, data:string } - a table with two
I have a List(Of String) which corresponds to types on our database table. We
I have this table CREATE TABLE [dbo].[friend_blocked_list]( [subdomain] [varchar](50) NOT NULL, [un] [nvarchar](50) NOT
I have this table: <table id="tblId"> <thead> <tr> <th>View Name</th> <th>View Description</th> </tr> </thead>
I have this table in an Oracle DB which has a primary key defined
I have this table CREATE TABLE `codes` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
i have this table in UTF8 (collation is utf8_bin in case it matters). I
I have this table: CREATE TABLE `test` ( `ID` int(11) NOT NULL auto_increment, `text`

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.