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]? Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.