<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mbstring.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'function.mb-substr.php',
    1 => 'mb_substr',
    2 => 'Dizgenin bir alt dizgesini alır',
  ),
  'up' => 
  array (
    0 => 'ref.mbstring.php',
    1 => '&Ccedil;ok baytlı Dizge İşlevleri',
  ),
  'prev' => 
  array (
    0 => 'function.mb-substitute-character.php',
    1 => 'mb_substitute_character',
  ),
  'next' => 
  array (
    0 => 'function.mb-substr-count.php',
    1 => 'mb_substr_count',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'tr',
    'path' => 'reference/mbstring/functions/mb-substr.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mb-substr" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mb_substr</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.6, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mb_substr</span> &mdash; <span class="dc-title">Dizgenin bir alt dizgesini alır</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.mb-substr-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mb_substr</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$dizge</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$başlangıç</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$uzunluk</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$kodlama</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Karakterler üzerinde güvenilir bir çok baytlı <span class="function"><a href="function.substr.php" class="function">substr()</a></span>
   işlemi gerçekleştirir. <code class="parameter">başlangıç</code> konumuna
   <code class="parameter">dizge</code> başlangıcından sayılarak erişilir. Belirtilen
   dizgenin ilk karakterinin indisinin 0 olduğu varsayılır.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mb-substr-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">dizge</code></dt>
     <dd>
      <p class="para">
       Alt dizge başlangıcının aranacağı dizge.
      </p>
     </dd>
    
    
     <dt><code class="parameter">başlangıç</code></dt>
     <dd>
      <p class="para">
       <code class="parameter">başlangıç</code> negatif değilse,
       <code class="parameter">dizge</code> içinde sıfırıncı konumdan itibaren
       <code class="parameter">başlangıç</code>&#039;ıncı konumda başlayan dizge döner.
       Örneğin, &#039;<code class="literal">abcdef</code>&#039; dizgesinde <code class="literal">0</code>
       konumundaki karakter &#039;<code class="literal">a</code>&#039;, <code class="literal">2</code>
       konumundaki karakter &#039;<code class="literal">c</code>&#039; olur ve böyle devam eder.
      </p>
      <p class="para">
       <code class="parameter">başlangıç</code> negatifse,
       <code class="parameter">dizge</code>nin sonuncu karakterinden itibaren
       <code class="parameter">başlangıç</code>ıncı karakterden başlayan dize döner.
      </p>
     </dd>
    
    
     <dt><code class="parameter">uzunluk</code></dt>
     <dd>
      <p class="para">
       İstenen alt dizgenin azami uzunluğu. Atlanırsa veya <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> ise,
       <code class="parameter">dizge</code>nin tüm karakterleri çıkarılır.
      </p>
     </dd>
    
    
     <dt><code class="parameter">kodlama</code></dt>
     <dd>
      <p class="para"><code class="parameter">kodlama</code>
bağımsız değişkeninde karakter kodlaması belirtilir. Belirtilmediği takdirde veya
<strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> ise <a href="mbstring.configuration.php#ini.mbstring.internal-encoding" class="link">dahili karakter
kodlaması</a> kullanılır.</p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mb-substr-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="para">
   <span class="function"><strong>mb_substr()</strong></span> işlevi, yeri
   <code class="parameter">başlangıç</code> ve <code class="parameter">uzunluk</code>
   bağımsız değişkenleri ile belirtilen <code class="parameter">dizge</code> parçası ile
   döner.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.mb-substr-changelog">
  <h3 class="title">Sürüm Bilgisi</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Sürüm: </th>
      <th>Açıklama</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
<td>8.0.0</td><td><code class="parameter">kodlama</code> artık <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>
olabiliyor.</td></tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.mb-substr-seealso">
  <h3 class="title">Ayrıca Bakınız</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.mb-strcut.php" class="function" rel="rdfs-seeAlso">mb_strcut()</a> - Dizgenin başlangıcı ve uzunluğu belirtilen par&ccedil;ası ile d&ouml;ner</span></li>
    <li><span class="function"><a href="function.mb-internal-encoding.php" class="function" rel="rdfs-seeAlso">mb_internal_encoding()</a> - Dahili karakter kodlamasını tanımlar/d&ouml;nd&uuml;r&uuml;r</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>