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

lcfirst

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

အဓိပ္ပါယ်နှင့်အသုံးပြုမှု

lcfirst() function သည်စာလုံးအသေးကိုပထမ ဦး ဆုံးစာလုံးအဖြစ်ပြောင်းလဲပေးသည်။

ဆက်စပ်သောလုပ်ဆောင်ချက်များ:

  • strtolower() - strings ကိုစာလုံးအသေးအဖြစ်ပြောင်းပါ
  • strtoupper() - string ကိုစာလုံးအကြီးသို့ပြောင်းပါ
  • ucfirst() - ပထမစာလုံးကို string တစ်ခုအတွက်စာလုံးအကြီးအဖြစ်ပြောင်းပါ
  • ucwords() - စကားလုံးတစ်လုံးစီ၏ပထမ ဦး ဆုံးဇာတ်ကောင်ကိုစာလုံးအကြီးဖြင့် string တစ်ခုတွင်ပြောင်းပါ

နမူနာ

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

 <? PHP
Echo LCFirst ( "Hello World!" ) ;
>

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

သဒ္ဒါ

 lcfirst ( string )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် ပြောင်းလဲခံရဖို့ string ကိုဖေါ်ပြသည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • strings များကို array သို့ပြောင်းပါ str_split

    str_split

    stringsများကိုarrayသ
  • 1-bit string ကိုကိုးကားချက်များနှင့်အတူပုံနှိပ်ထုတ်လွှင့် string ကိုကူးပြောင်း quoted_printable_encode

    quoted_printable_encode

    1-bitstringကိုကိုးကာ
  • ယုတ္တိ - ဟေဗြဲဘာသာကိုအမြင်အာရုံ - ဟေဗြဲဘာသာပြောင်းပါ hebrev

    hebrev

    ယုတ္တိ-ဟေဗြဲဘာသာကိုအ
  • string တစ်ခုရဲ့ metaphone key ကိုတွက်ချက်ပါ metaphone

    metaphone

    stringတစ်ခုရဲ့metaph
  • တစ် string ကို output ကို print

    print

    တစ်stringကိုoutputကိ
  • အဆိုပါ stream ဖို့ format ချ string ကိုရေးပါ fprintf

    fprintf

    အဆိုပါstreamဖို့form
  • binary လုံခြုံတဲ့ string ကိုနှိုင်းယှဉ် strcmp

    strcmp

    binaryလုံခြုံတဲ့stri
  • အထူး HTML အဖွဲ့အစည်းများကိုပုံမှန်ဇာတ်ကောင်များသို့ပြန်သွားပါ htmlspecialchars_decode

    htmlspecialchars_decode

    အထူးHTMLအဖွဲ့အစည်းမျ
လူကြိုက်များသော ဆောင်းပါးများ