Member Avatar
heyy all ,, i'm trying to get the middle word of sentence contains 3 words using find and substr.. this is the code : so guys what is the solution!!please be helpful :) <3
by saja.omarii.7 in Software Development ()
Member Avatar
xhi, my task is to make a script, which displays the string read from console input in the form of 1 letters / line only. my code looks like this so far read string hossz= for i in do echo done my problem is that if the string contains spaces, …
by zortar in Software Development ()
Member Avatar
Hi Everyone, How can I add a + sign to the following string.... for some reason I just can not figure it out I have tried ".+ and ".+." and sign quotes - both options but it just doesnt seem to work for me.... So, number will be the international …
by DaveyMoyes -1 in Web Development ()
Member Avatar
How function can I use for search substr in str?
by knowill in Web Development ()
Member Avatar
I have a string, that contains multiple values, and has a prefix of ***. Here's an example: $value = 'a.first_name, a.last_name, a.address, a.city, a.state, b.phone_num, bc.gender, vfr.rating'; // instead, I'd like for it to display like this $value = 'first_name, last_name, address, city, state, phone_num, gender, rating'; Basically, I'd like …
by emillion82 in Web Development ()
Member Avatar
write a program that will identify the longest substring in two given strings that is common to both.
by VJTechno in Software Development ()
Member Avatar
Hi, I am using substr to bring back only the first few lines of text from a database field - For example: $message_contents = substr($message_contents, 0, 43); How can I protect against the substr to deliver the next full word ? so, if my 44th,45th,46th charachters were (com) currently the …
by LloydFarrell in Web Development ()