Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Senad Meskin  >  String Builder  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: File with example
Class: String Builder
Concatenate strings in several ways
Author: By
Last change: Added more examples
Date: 2008-07-11 03:18
Size: 203 bytes
 

Contents

Class file image Download
<?php
include_once('StringBuilder.php');
$s = new StringBuilder();

$s->append("TriLLi");
$s->appendLine("New Line");
$s->AppendLine();
$s->appendFormat("%s|%s"1020);
echo 
$s->toString();
?>