Solution -- where to go Net test questions ---- is this a Chinese word segmentation? where to go Net test a Chinese word segmentation program
Participated in the written examination of CEN
Asp. php. jsp. javascript is not limited to converting it into javascript. jsp. php. asp
It refers to the character string entered by the user (which contains several characters separated by "."). You write a program to implement the separation of these "." and reverse the original sentence.
Reply to discussion (solution)
It seems to be converted into an array, and then in reverse order.
The question is how to separate? The character between two vertices is converted into an array unit. Solution
It seems to be converted into an array, and then in reverse order.
The question is how to separate? The character between two vertices is converted into an array unit.
$s = 'asp.php.jsp.javascript';echo join('.', array_reverse(explode('.', $s)));
Javascript. jsp. php. asp
$s = 'asp.php.jsp.javascript';echo join('.', array_reverse(explode('.', $s)));
Javascript. jsp. php. asp
It seems that I still have to learn php! Thank you!