현재 위치: > 함수 카테고리 모음> lcfirst

lcfirst

문자열의 첫 번째 문자를 소문자로 설정하십시오
이름:lcfirst
분류:
사용 언어:php
한 줄 설명:문자열의 첫 번째 문자를 소문자로 변환합니다.

"hello"의 첫 번째 문자를 소문자로 변환하십시오.

 <span class="token php language-php"><span class="token delimiter important"><? php</span>
<span class="token keyword">echo</span> <span class="token function">lcfirst</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Hello World!"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

직접 시도하십시오

유사한 함수
  • 대상 문자열에서 지정된 문자열의 마지막 발생을 계산합니다. strrpos

    strrpos

    대상문자열에서지정된문자열의마지막발생을
  • htmlspecialchars () 및 htmlentities ()를 사용한 후 변환 테이블을 반환합니다. get_html_translation_table

    get_html_translation_table

    htmlspecialchars()및h
  • 문자열 길이를 얻으십시오 strlen

    strlen

    문자열길이를얻으십시오
  • 디지털 형식 정보를 얻으십시오 localeconv

    localeconv

    디지털형식정보를얻으십시오
  • 문자열에 사용 된 단어에 대한 정보를 반환합니다 str_word_count

    str_word_count

    문자열에사용된단어에대한정보를반환합니다
  • 문자열이 주어진 부분 문자열로 끝 있는지 확인하십시오 str_ends_with

    str_ends_with

    문자열이주어진부분문자열로끝있는지확인하
  • 문자열의 일부를 반환하십시오 substr

    substr

    문자열의일부를반환하십시오
  • 서식 된 문자열을 스트림에 쓰십시오 fprintf

    fprintf

    서식된문자열을스트림에쓰십시오