Source for file StringFormat.php
Documentation is available at StringFormat.php
* Description: string format utility procedures
* @copyright (c) 1995-2008 by Steema Software SL. All Rights Reserved. <info@steema.com>
* @link http://www.steema.com
/* public function format($format, $prefix, $value, $valueFormat) {
return $prefix + " " + $this->Double->toString($value);
public function format2($format, $value1, $value2) {
return $format + " " + $this->Double->toString($value1) + " " +
$this->Double->toString($value2);
/* public function format2($format, $value1, $value2) {
$this->Object[] $this->obj = {$this->Integer->toString($value1), $this->Integer->toString($value2)};
return $format($format, $this->obj);
public function format($formatStr, $value) {
$this->Object[] $this->args = {$value};
return $this->java->text->MessageFormat->format($formatStr, $this->args);
public function format($formatStr, $args) {
return $this->java->text->MessageFormat->format($formatStr, $args);
public static function split($in, $ch ){
//$result = new String[$this->tmp->size()];
return /*str_split(*/$tmp/*)*/;
|