cooldude832 Posted December 1, 2007 Share Posted December 1, 2007 I want to do strpos from the end of the string any ideas?? Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/ Share on other sites More sharing options...
BenInBlack Posted December 1, 2007 Share Posted December 1, 2007 have you thought of using function strrev to reverse the string, now the back is the front Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403333 Share on other sites More sharing options...
cooldude832 Posted December 1, 2007 Author Share Posted December 1, 2007 no, but I solved it a diffrent way Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403336 Share on other sites More sharing options...
toplay Posted December 1, 2007 Share Posted December 1, 2007 http://us2.php.net/manual/en/function.strrpos.php Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403342 Share on other sites More sharing options...
cooldude832 Posted December 1, 2007 Author Share Posted December 1, 2007 should i mentioned I need a 4 solution not 5 Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403344 Share on other sites More sharing options...
toplay Posted December 1, 2007 Share Posted December 1, 2007 I marked your topic as solved then. Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403348 Share on other sites More sharing options...
cooldude832 Posted December 1, 2007 Author Share Posted December 1, 2007 well to this question no, I just am assuming my string is at constant length, so I set the offset to get past the junk Link to comment https://forums.phpfreaks.com/topic/79639-solved-strpos-from-end-of-string/#findComment-403349 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.