လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> ucfirst

ucfirst

စာလုံးကြီး၏ပထမ ဦး ဆုံးအက်ခရာကိုသတ်မှတ်ပါ
အမည်:ucfirst
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:ပထမ ဦး ဆုံးဇာတ်ကောင်ကို string အတွက် string ကိုပြောင်းလဲ။

နမူနာ

"Hello" ၏ပထမ ဦး ဆုံးဇာတ်ကောင်ကိုစာလုံးအကြီးသို့ပြောင်းပါ။

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">echo</span> <span class="token function">ucfirst</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Hello World!"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">></span></span>

သင်ကိုယ်တိုင်စမ်းကြည့်ပါ

သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • string အရှည်ရယူပါ strlen

    strlen

    stringအရှည်ရယူပါ
  • string ကိုပေးထားသော substring နှင့်အတူအဆုံးသတ် str_ends_with

    str_ends_with

    stringကိုပေးထားသောsu
  • string ကိုပြန်လုပ်ပါ str_repeat

    str_repeat

    stringကိုပြန်လုပ်ပါ
  • သက်ဆိုင်သောအက္ခရာများအားလုံးကို HTML အဖွဲ့အစည်းများသို့ပြောင်းပါ htmlentities

    htmlentities

    သက်ဆိုင်သောအက္ခရာမျာ
  • အဆိုပါ format ချ string ကိုပြန်ပို့သည် vsprintf

    vsprintf

    အဆိုပါformatချstring
  • output ကို format ချ string ကို vprintf

    vprintf

    outputကိုformatချstr
  • output ကို format ချ string ကို printf

    printf

    outputကိုformatချstr
  • string တစ်ခုရဲ့ metaphone key ကိုတွက်ချက်ပါ metaphone

    metaphone

    stringတစ်ခုရဲ့metaph
လူကြိုက်များသော ဆောင်းပါးများ