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

1번째 줄: 1번째 줄:
[[category: string]]
[[category: string]]
;title
;ucwords
==PHP==
[[category: PHP]]
<source lang='PHP'>
$s = 'hello, world!';
echo ucwords($s);
# Hello, World!
</source>


==Python==
==Python==

2015년 9월 14일 (월) 22:16 판

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 }}