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

strtoupper

string ကိုစာလုံးအကြီးသို့ပြောင်းပါ
အမည်:strtoupper
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:strings ကိုစာလုံးကြီးများသို့ပြောင်းပါ။

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

strtoupper() function သည် string ကိုစာလုံးအကြီးအဖြစ်ပြောင်းလဲပေးသည်။

မှတ်ချက် - ဒီ function က binary ဘေးကင်းလုံခြုံသည်။

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

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

နမူနာ

စာလုံးအားလုံးကိုစာလုံးအကြီးသို့ပြောင်းပါ။

 <? PHP
ပဲ့တင်သံ strtoupper ( "Hello World!" ) ;
>

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

သဒ္ဒါ

 Strtoupper ( string )
တေးရေး ဖေါ်ပြ
ကြိုး လိုအပ်ပါတယ် ပြောင်းလဲခံရဖို့ string ကိုဖေါ်ပြသည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • စာလုံးကြီး၏ပထမ ဦး ဆုံးအက်ခရာကိုသတ်မှတ်ပါ ucfirst

    ucfirst

    စာလုံးကြီး၏ပထမဦးဆုံး
  • uuencode encoded string ကို decode convert_uudecode

    convert_uudecode

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

    quoted_printable_encode

    1-bitstringကိုကိုးကာ
  • ကြိုး၏ soundex key ကိုတွက်ချက်ပါ soundex

    soundex

    ကြိုး၏soundexkeyကိုတ
  • string တွင်အသုံးပြုသောစကားလုံးများနှင့်ပတ်သက်သောသတင်းအချက်အလက်များကိုပြန်ပို့ပါ str_word_count

    str_word_count

    stringတွင်အသုံးပြုသေ
  • ချုံ့ရန် formatted ကြိုးရေးပါ vfprintf

    vfprintf

    ချုံ့ရန်formattedကြိ
  • tag split string ကို strtok

    strtok

    tagsplitstringကို
  • substring များ၏ကွိ၏အရေအတွက်ကိုတွက်ချက် substr_count

    substr_count

    substringများ၏ကွိ၏အရ