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

잔글 (Jmnote님이 함수 title() 문서를 함수 ucwords() 문서로 이동했습니다)
20번째 줄: 20번째 줄:


==같이 보기==
==같이 보기==
*[[함수 capitalize()]]
* [[함수 ucfirst()]]
*[[함수 uppercase()]]
* [[함수 capitalize()]]
*[[함수 lowercase()]]
* [[함수 uppercase()]]
* [[함수 lowercase()]]

2018년 8월 19일 (일) 02:03 판

title()
ucwords()

1 PHP

$s = 'hello, world!';
echo ucwords($s);
# Hello, World!

2 Python

s = 'hello, world!'
print( s.title() )
# Hello, World!

3 같이 보기

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