File/class/Plugin/Smarty/modifier.explode.php

Description
Functions
smarty_modifier_explode (line 21)

smarty modifier:explode()

join()関数のwrapper

sample:

  1.   $smarty->assign("string""1,2,3");
  2.  
  3.   {$array|explode:","}
  1.   array(123)

  • return: 分割後の配列
array smarty_modifier_explode (string $string, string $glue)
  • string $string: explode対象の文字列
  • string $glue: 分割文字列

Documentation generated on Fri, 11 Nov 2011 03:58:44 +0900 by phpDocumentor 1.4.3