canadabeeau Posted February 14, 2010 Share Posted February 14, 2010 Hi I have a string (eg "testahalpa my_res(ldldl);") now I want a PHP way of selecting everything that is in between my_res and the next availiable ";" now I do not want it to delete the rest of the string, rather may a variable which contains the new selected data Thanks in advance Link to comment https://forums.phpfreaks.com/topic/192022-select-text/ Share on other sites More sharing options...
canadabeeau Posted February 14, 2010 Author Share Posted February 14, 2010 one slight addition when it gets the data between my_res and the next available ";" it also needs to replace that data taken to the variable with a momment (\\data moved), any help greatly appreciated Link to comment https://forums.phpfreaks.com/topic/192022-select-text/#findComment-1012050 Share on other sites More sharing options...
canadabeeau Posted February 14, 2010 Author Share Posted February 14, 2010 anyone? Link to comment https://forums.phpfreaks.com/topic/192022-select-text/#findComment-1012082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.