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

strripos

သတ်မှတ်ထားသော string အတွက်သတ်မှတ်ထားသော string ကို၏နောက်ဆုံးဖြစ်ပျက်မှုကိုတွက်ချက်ပါ (ကိစ္စတွင်မခံစားနိုင်မှု)
အမည်:strripos
အမျိုးအစား:ကြိုး
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:String သည်အခြား string တစ်ခု (ကိစ္စတွင်မခံစားနိုင်သည့်) တွင်မည်သည့်နေရာတွင်တွေ့နိုင်သည်ကိုတွေ့ရှိရသည်။

နမူနာ

string အတွက် "PHP" ၏နောက်ဆုံးဖြစ်ပျက်မှုကိုရှာပါ။

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">ECHO</span> <span class="token function">strripos</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Php ကိုချစ်တယ်, ငါ PHP ကိုငါချစ်တယ်!"</span> <span class="token punctuation">,</span> <span class="token string double-quoted-string">"PHP"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">></span></span>

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

သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • htmlspecialchars () နှင့် htmlenties () ကိုအသုံးပြုပြီးနောက်ပြောင်းလဲခြင်းစားပွဲကိုပြန်ပို့သည် () get_html_translation_table

    get_html_translation_table

    htmlspecialchars()နှ
  • အဆိုပါ stream ဖို့ format ချ string ကိုရေးပါ fprintf

    fprintf

    အဆိုပါstreamဖို့form
  • 0-255 အကြားတန်ဖိုးကိုပထမ ဦး ဆုံး byte ကိုပြောင်းပါ ord

    ord

    0-255အကြားတန်ဖိုးကို
  • ကြိုးမှ HTML နှင့် PHP tags များကိုဖယ်ရှားပါ strip_tags

    strip_tags

    ကြိုးမှHTMLနှင့်PHPt
  • string ကို encode လုပ်ဖို့ uuencode ကိုသုံးပါ convert_uuencode

    convert_uuencode

    stringကိုencodeလုပ်ဖ
  • ကြိုးအစားထိုးကြောင်း substrings substr_replace

    substr_replace

    ကြိုးအစားထိုးကြောင်း
  • string အရှည်ရယူပါ strlen

    strlen

    stringအရှည်ရယူပါ
  • strstr ၏ alias ကို strchr

    strchr

    strstr၏aliasကို
လူကြိုက်များသော ဆောင်းပါးများ