Php อักษรตัวพิมพ์ใหญ่ก่อนจดหมาย

รหัสตัวอย่าง

10
0

ucfirst()php


<?php
$foo = 'hello world!';
$foo = ucfirst($foo);             // Hello world!

$bar = 'HELLO WORLD!';
$bar = ucfirst($bar);             // HELLO WORLD!
$bar = ucfirst(strtolower($bar)); // Hello world!
?>
// string manipulation function 
9
0

ข้อความแรกจดหมายเป็นอักษรตัวพิมพ์ใหญ่ php


<?php
$foo = 'hello world!';
$foo = ucfirst($foo);             // Hello world!

$bar = 'HELLO WORLD!';
$bar = ucfirst($bar);             // HELLO WORLD!
$bar = ucfirst(strtolower($bar)); // Hello world!
?>

5
0

ก่อตัวอักษรตัวพิมพ์ใหญ่ php

ucwords("hello world"); // Hello World
ucfirst("hello world"); // Hello world
2
0

php ตัวพิมพ์ใหญ่ก่อนจดหมาย

ucfirst("hello world!");
2
0

ucfirst

<?php
/* Convert the first character of "hello" to uppercase:  */
echo ucfirst("hello samy!");

//output : Hello samy!
?>
1
0

php อักษรตัวพิมพ์ใหญ่ก่อนจดหมาย

ucfirst($myword);

หน้าคล้ายกัน

คล้ายกันหน้ากับตัวอย่าง

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................