【PHP】 単純な文字列操作

  strtoupper




  • strtoupper( string )
  • 文字列を大文字にする

    1. アルファベット部分を すべて大文字にして返す

      
    $str = "Mary Had A Little Lamb and She LOVED It So";
    $str = strtoupper ($str);	
    
     # 「MARY HAD A LITTLE LAMB AND SHE LOVED IT SO」を出力
    print $str;
    
      

    ------> strtolower

      strlen




  • strlen( string )
  • 文字列の長さを得る


  •   str_repeat


  • str_repeat ( string input_str, int multiplier )
  • input_str を multiplier 回を繰り返した文字列を返す。












  •    SQLの窓    create:2002/08/21  update:2014/09/07   管理者用(要ログイン)





    フリーフォントWEBサービス

    SQLの窓WEBサービス

    SQLの窓フリーソフト

    写真素材

    一般WEBツールリンク

    SQLの窓

    フリーソフト

    JSライブラリ