現在の位置: ホーム> 関数カテゴリ一覧> convert_cyr_string

convert_cyr_string

キャラクターをあるキリル文字から別のキャラクターに変換します
名前:convert_cyr_string
カテゴリ:
対応言語:php
一言説明:文字列をあるキリル文字セットから別のキリル文字に変換します。

文字列をある文字セットから別の文字に変換します。

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token variable">$ str</span> <span class="token operator">=</span> <span class="token string double-quoted-string">"hello world!???"</span> <span class="token punctuation">;</span>
<span class="token keyword">echo</span> <span class="token variable">$ str</span> <span class="token operator">。</span> <span class="token string double-quoted-string">"<br>"</span> <span class="token punctuation">;</span>
<span class="token keyword">echo</span> <span class="token function">convert_cyr_string</span> <span class="token punctuation">(</span> <span class="token variable">$ str</span> <span class="token punctuation">、</span> <span class="token string single-quoted-string">&#39;w&#39;</span> <span class="token punctuation">、</span> <span class="token string single-quoted-string">&#39;a&#39;</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>
類似の関数
  • 文字列を繰り返します str_repeat

    str_repeat

    文字列を繰り返します
  • 文字列の先頭からスペース(または他の文字)を削除します ltrim

    ltrim

    文字列の先頭からスペース(または他の文字
  • 文字列を複数の変数に解析します parse_str

    parse_str

    文字列を複数の変数に解析します
  • 文字列を大文字に変換します strtoupper

    strtoupper

    文字列を大文字に変換します
  • 文字列の最初の文字を小文字に設定します lcfirst

    lcfirst

    文字列の最初の文字を小文字に設定します
  • 文字列からHTMLおよびPHPタグを削除します strip_tags

    strip_tags

    文字列からHTMLおよびPHPタグを削除
  • フォーマットされた文字列を作成してストリーミングします vfprintf

    vfprintf

    フォーマットされた文字列を作成してストリ
  • CRC32多項式の文字列を計算します crc32

    crc32

    CRC32多項式の文字列を計算します