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

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(같은 사용자의 중간 판 4개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[category: string]]
==개요==
==개요==
;ucwords()
;ucwords()
;<del>title()</del>
[[분류:대소문자]]


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


==같이 보기==
==같이 보기==
{{z컬럼3|
* [[함수 title()]]
* [[함수 title()]]
* [[함수 ucfirst()]]
* [[함수 ucfirst()]]
35번째 줄: 18번째 줄:
* [[함수 uppercase()]]
* [[함수 uppercase()]]
* [[함수 lowercase()]]
* [[함수 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 }}