locked
Split string RRS feed

  • Question

  • User-1481164441 posted
    Hello,i want to upload cv file and then to split the text to expirence /education and more.i canot find function that can help me to split the string execpt from substring.please there is some idea for function..for me??
    Saturday, July 16, 2016 8:10 AM

Answers

  • User475983607 posted

    Omer8

    Tanks but i mean,in cv file you have expirance:string...
    Education:string,..
    Note:string
    Every budy and his cv.
    I want to spilt it to pargrafh and make it new string.

    String.Split() is used to spit a delimited string.  I believe wavemaster answered your original question.

    A *.csv file usually represents a set of data where each line is a record and columns are delimited by  commas.  It's common for the first line in a CSV file to contains the fields names.  

    It seems as though you are asking a second question which is how to parse a CSV file and convert the result to another format.

    Reading a parsing files is a very common thing to do and there is a lot of information and sample code out there on the web.  Here are a few tutorials to get you started.

    https://msdn.microsoft.com/en-us/magazine/mt683802.aspx

    http://www.dotnetperls.com/textfieldparser

    If you still need assistance, please post the file format as well as the code you tried so far.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, July 16, 2016 2:30 PM

All replies

  • User379720387 posted

    yourstring = "5years,highschool"

    experience = yourstring.Split(',')[0]

    education = yourstring.Split(',')[1]

    Saturday, July 16, 2016 10:51 AM
  • User-1481164441 posted
    Tanks but i mean,in cv file you have expirance:string...
    Education:string,..
    Note:string
    Every budy and his cv.
    I want to spilt it to pargrafh and make it new string.
    Saturday, July 16, 2016 1:19 PM
  • User1853794821 posted

    GIYF

    http://stackoverflow.com/questions/6542996/how-to-split-csv-whose-columns-may-contain

    Saturday, July 16, 2016 2:26 PM
  • User475983607 posted

    Omer8

    Tanks but i mean,in cv file you have expirance:string...
    Education:string,..
    Note:string
    Every budy and his cv.
    I want to spilt it to pargrafh and make it new string.

    String.Split() is used to spit a delimited string.  I believe wavemaster answered your original question.

    A *.csv file usually represents a set of data where each line is a record and columns are delimited by  commas.  It's common for the first line in a CSV file to contains the fields names.  

    It seems as though you are asking a second question which is how to parse a CSV file and convert the result to another format.

    Reading a parsing files is a very common thing to do and there is a lot of information and sample code out there on the web.  Here are a few tutorials to get you started.

    https://msdn.microsoft.com/en-us/magazine/mt683802.aspx

    http://www.dotnetperls.com/textfieldparser

    If you still need assistance, please post the file format as well as the code you tried so far.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, July 16, 2016 2:30 PM
  • User-1481164441 posted
    Ok. Thanku Vary much i will chek this.
    Saturday, July 16, 2016 7:28 PM