alvin567 Posted October 22, 2012 Share Posted October 22, 2012 [entities] Protein Entity [relations] Equiv Arg1:Protein, Arg2:Protein Equiv Arg1:Entity, Arg2:Entity How can I reach [entities] until it reaches [relations]? Link to comment https://forums.phpfreaks.com/topic/269765-readline-until-certain-position-matches/ Share on other sites More sharing options...
requinix Posted October 22, 2012 Share Posted October 22, 2012 1. Read lines until you find "[entities]" 2. Read and save lines until you find "[anything]", or perhaps literally just "[relations]" Are you asking about, like, what functions to call? Where files are? How to use arrays? Link to comment https://forums.phpfreaks.com/topic/269765-readline-until-certain-position-matches/#findComment-1386912 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.