首頁> 網絡編程教程
全部 ASP教程 ASP教程 ASP.NET教程 PHP教程 JSP教程 C#/CSHARP教程 XML教程 Ajax教程 Perl教程 Shell教程 Visual Basic教程 Delphi教程 移動開髮教程 C/C++教程 Java教程 J2EE/J2ME 軟件工程
網絡編程教程
  • PHP convert_uudecode() 函數

    PHP convert_uudecode() 函數

    實例對uuencode 編碼的字串進行解碼:
    2024-12-29
  • PHP convert_cyr_string() 函數

    PHP convert_cyr_string() 函數

    實例把字串由一種字元集轉換成另一種: <?php$str = "Hello world! æøå";echo $str . "<br> ";echo conver
    2024-12-29
  • PHP chunk_split() 函數

    PHP chunk_split() 函數

    實例在每個字元後分割一次字串,並在每個分割後加上".":
    2024-12-29
  • PHP chr() 函數

    PHP chr() 函數

    實例從不同ASCII 值傳回字元: <?phpecho chr(52) . "<br> "; // Decimal valueecho chr(052) . "
    2024-12-29
  • PHP strcmp() 函數

    PHP strcmp() 函數

    實例比較兩個字串(區分大小寫):<?phpecho strcmp("Hello world!","Hello world!");?>定義和用法strcmp()
    2024-12-29
  • PHP strchr() 函數

    PHP strchr() 函數

    實例尋找"world" 在"Hello world!" 中的第一次出現,並傳回字串的其餘部分:
    2024-12-29
  • PHP str_word_count() 函數

    PHP str_word_count() 函數

    實例計算字串"Hello World!" 中的單字數:<?phpecho str_word_count("Hello world!");?>定義和用法str
    2024-12-29
  • PHP str_shuffle() 函數

    PHP str_shuffle() 函數

    實例隨機地打亂字串中的所有字元:<?phpecho str_shuffle("Hello World");?>定義和用法str_shuffle() 函數隨機地
    2024-12-29
  • PHP str_rot13() 函數

    PHP str_rot13() 函數

    實例編碼並解碼字串: <?phpecho str_rot13("Hello World");echo "<br> ";echo str_rot13("Uryyb
    2024-12-29
  • PHP str_repeat() 函數

    PHP str_repeat() 函數

    實例把字串"." 重複13 次:<?phpecho str_repeat(".",13);?>定義和用法str_repeat() 函數把字串重複指定的次
    2024-12-29
  • PHP vfprintf() 函數

    PHP vfprintf() 函數

    實例把一些文字寫入到名為"test.txt" 的文字檔:
    2024-12-29
  • PHP ucwords() 函數

    PHP ucwords() 函數

    實例把每個單字的首字符轉換為大寫:<?phpecho ucwords("hello world");?>定義和用法ucwords() 函數把字串中每個單字的首
    2024-12-29
  • PHP ucfirst() 函數

    PHP ucfirst() 函數

    實例把"hello" 的首字符轉換為大寫:<?phpecho ucfirst("hello world!");?>定義和用法ucfirst() 函數把字串中
    2024-12-29
  • PHP trim() 函數

    PHP trim() 函數

    實例移除字串左側的字元("Hello" 中的"He"以及"World" 中的"d!"):
    2024-12-29
  • PHP substr_replace() 函數

    PHP substr_replace() 函數

    實例把"Hello" 替換成"world":<?phpecho substr_replace("Hello","world",0);?>定義和用法subst
    2024-12-29