File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch05_txt_html/substr.php

Recommend this page to a friend!
  Classes of Slavko Srakocic  >  B12 PHP FW  >  fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch05_txt_html/substr.php  >  Download  
File: fwphp/glomodul/z_examples/book_video/03steinmetz_2008/ch05_txt_html/substr.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: B12 PHP FW
Manage database records with a PDO CRUD interface
Author: By
Last change:
Date: 2 months ago
Size: 158 bytes
 

Contents

Class file image Download
<?php
 
echo substr('abcdef', 2, 3);
  print
"\n";
  echo
substr('abcdef', 2); // cdef
 
print "\n";
  echo
substr('abcdef', -3, 2); // de
 
print "\n";
?>

For more information send a message to info at phpclasses dot org.