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

1번째 줄: 1번째 줄:
[[category: string]]
[[category: string]]
;title
;title()
;ucwords
;ucwords()


==PHP==
==PHP==

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

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