Grasshopper

algorithmic modeling for Rhino

Extracting text data from combined text/numeric .csv file

Hi,

Does anyone know how to extract text data from a .csv file that is being tracked out of the Read File component?  I have specific text that must follow the numeric data and stream the contents of both into a separate .csv file but I have to run the numbers through an equation first and output both the solution & the imported raw data.  Obviously, I must remove the text to run the equation, but I need to mate that back up with the solution after the expression.  Seems confusing, but it's really simple what I'm trying to do.  I have attached a file that indicates the final streamed contents (without text) and also a "-test" file as shown below with the desired text I need exported.

Views: 2549

Attachments:

Replies to This Discussion

String Split

Perfect...  I just tried this and decided to split, flatten & dispatch into 2  separate text/numeric data sets.  Thanks for the input.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service