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 Bas Jobsen  >  casespecial.php  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: casespecial.php
Upper- and lowercase string with special chars
Author: By
Last change:
Date: 2002-09-11 20:17
Size: 957 bytes
 

Contents

Class file image Download
<?
include('casespecial.php');
$UC= new casespecial();

$work_text "äperhepäivähoitaja";
$temp=$UC->get_ucfirst($work_text);
echo 
$temp."\n";
$UC->ucfirst($work_text);
echo 
$work_text."\n";

$work_text "äperhepäi vähoitaja";
$temp=$UC->get_ucwords($work_text);
echo 
$temp."\n";
$UC->ucwords($work_text);
echo 
$work_text."\n";

$work_text "äperhepäi vähoitaja";
$temp=$UC->get_strtoupper($work_text);
echo 
$temp."\n";
$UC->strtoupper($work_text);
echo 
$work_text."\n";

$work_text "ÄPERHEPÄI VÄHOITAJA";
$temp=$UC->get_strtolower($work_text);
echo 
$temp."\n";
$UC->strtolower($work_text);
echo 
$work_text."\n";

$work_text "ÄPERHEPÄI VÄHOITAJA";
$temp=$UC->get_capitalize($work_text);
echo 
$temp."\n";
$UC->capitalize($work_text);
echo 
$work_text."\n";

$work_text "ÄPERHEPÄI VÄHOITAJA";
$temp=$UC->get_capitalizewords($work_text);
echo 
$temp."\n";
$UC->capitalizewords($work_text);
echo 
$work_text."\n";
?>