"함수 ucwords()"의 두 판 사이의 차이

잔글 (Jmnote 사용자가 함수 title 문서를 함수 title() 문서로 옮겼습니다)
 
(사용자 2명의 중간 판 18개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[category: string]]
==개요==
;ucwords()
[[분류:대소문자]]


==Python==
==PHP==
[[category: Python]]
[[category: PHP]]
<source lang='Python'>
{{참고|PHP ucwords()}}
s = 'hello, world!'
<syntaxhighlight lang='PHP' run>
print( s.title() )
echo ucwords('FooBar') . PHP_EOL;        # FooBar
# Hello, World!
echo ucwords('hello, world!') . PHP_EOL; # Hello, World!
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[함수 capitalize]]
{{z컬럼3|
*[[함수 uppercase]]
* [[함수 title()]]
*[[함수 lowercase]]
* [[함수 ucfirst()]]
* [[함수 capitalize()]]
* [[함수 uppercase()]]
* [[함수 lowercase()]]
}}

2023년 9월 17일 (일) 16:52 기준 최신판

1 개요[ | ]

ucwords()

2 PHP[ | ]

echo ucwords('FooBar') . PHP_EOL;        # FooBar
echo ucwords('hello, world!') . PHP_EOL; # Hello, World!

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}