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

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(다른 사용자 한 명의 중간 판 5개는 보이지 않습니다)
1번째 줄: 1번째 줄:
[[category: String]]
[[category: String]]
;isupper
;isupper()
 
;ctype_upper()


==PHP==
{{참고|PHP ctype_upper()}}
[[category: PHP]]
<syntaxhighlight lang='PHP'>
var_dump( ctype_upper('HELLO') );
var_dump( ctype_upper('Hello') );
var_dump( ctype_upper('hello') );
# bool(true)
# bool(false)
# bool(false)
</syntaxhighlight>


==Python==
==Python==
[[category: Python]]
[[category: Python]]
<source lang='Python'>
<syntaxhighlight lang='Python'>
print( "HELLO".isupper() );
print( "HELLO".isupper() );
print( "Hello".isupper() );
print( "Hello".isupper() );
13번째 줄: 24번째 줄:
# False
# False
# False
# False
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
*[[함수 islower]]
*[[함수 islower()]]
*[[함수 uppercase]]
*[[함수 isalpha()]]
*[[함수 uppercase()]]

2020년 11월 2일 (월) 02:33 기준 최신판

isupper()
ctype_upper()

1 PHP[ | ]

var_dump( ctype_upper('HELLO') );
var_dump( ctype_upper('Hello') );
var_dump( ctype_upper('hello') );
# bool(true)
# bool(false)
# bool(false)

2 Python[ | ]

print( "HELLO".isupper() );
print( "Hello".isupper() );
print( "hello".isupper() );
# True
# False
# False

3 같이 보기[ | ]

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