PHP - Read TXT from specific position

Posted by user1466766 on Stack Overflow See other posts from Stack Overflow or by user1466766
Published on 2012-06-19T15:00:59Z Indexed on 2012/06/19 15:16 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I'm having trouble with PHP text parsing I have a txt file which has this kind of information:

sometext::sometext.0 = INTEGER: 254

What i need is to get the last value of 254 as variable in PHP. in this txt file this last value can change from 0 to 255

"sometext::sometext.0 = INTEGER: " this part doesn't change at all. It has a length of 36 symbols, so i need get with PHP what is after 36 symbol into variable.

Thank you.

© Stack Overflow or respective owner

Related posts about php

Related posts about parsing