openmolecules.org

 
Home » DataWarrior » Cheminformatics » Splitting column data (Extracting year of publication)
Re: Splitting column data [message #1017 is a reply to message #1013] Wed, 29 July 2020 10:50 Go to previous messageGo to previous message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
if your references would be in a column called 'Lit' you could use something like the attached macro. The problem is that there is no easily recognizable separator between the journal name and the first number. This could be solved with a new function lastIndexOf() or reverseIndexOf(). Please let me know, if your references are similar enough for the macro to work. Then I would add the needed function for the remaining cut to make.

[Updated on: Wed, 29 July 2020 10:51]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Box plots
Next Topic: Basic Nitrogen
Goto Forum:
  


Current Time: Fri Nov 22 10:54:25 CET 2024

Total time taken to generate the page: 0.04133 seconds