Hi, given a text file and an offset, is there any class//message to obtain the line number of that offset? I just don't want to reinvent the wheel :) TIA arturo
You probably need: String>>#lineNumberCorrespondingToIndex: ----------------- Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an intellectual horizon of radius zero". (A. Einstein) On Tuesday, November 20, 2018, 9:17:34 p.m. EST, Arturo Zambrano <arturo.zambrano@gmail.com> wrote: Hi, given a text file and an offset, is there any class//message to obtain theline number of that offset? I just don't want to reinvent the wheel :) TIAarturo
participants (2)
-
Arturo Zambrano -
Benoit St-Jean