php - Split field values using specific character -
please me this.
it possible split field values using specific character? here sample table
value 10uf 2k 1.0uf 200uf i want split this:
value capacitance/resistance 10 uf 2 k 1.0 uf 200 uf ps: using oracle , numbers should separated letters
use split
array split ( string $pattern , string $string [, int $limit = -1 ] ) <?php // delimiters may slash, dot, or hyphen $date = "04/30/1973"; list($month, $day, $year) = split('[/.-]', $date); echo "month: $month; day: $day; year: $year<br />\n"; ?>
Comments
Post a Comment