Hướng dẫn uppercase first letter php - chữ hoa đầu tiên php

[Php 4, Php 5, Php 7, Php 8]

UCFIRST - Tạo nhân vật chữ hoa đầu tiên của chuỗiMake a string's first character uppercase

Sự mô tả

UCFIRST [Chuỗi $string]: Chuỗi[string $string]: string

Lưu ý rằng 'chữ cái' được xác định bởi địa phương hiện tại. Chẳng hạn, trong các ký tự địa phương "C" mặc định như Umlaut-A [ä] sẽ không được chuyển đổi.

Thông số

string

Chuỗi đầu vào.

Trả về giá trị

Trả về chuỗi kết quả.

Ví dụ

Ví dụ #1 ucfirst [] ví dụucfirst[] example

Xem thêm

  • lcfirst [] - Tạo chữ thường ký tự đầu tiên của chuỗi
  • strtolower [] - tạo chữ thường chuỗi
  • strtouper [] - tạo một chuỗi chữ hoa
  • ucwords [] - chữ hoa, ký tự đầu tiên của mỗi từ trong một chuỗi

plemieux ¶

16 năm trước

Simple multi-bytes ucfirst[]:

Qeremy [atta] gmail [dotta] com ¶

10 năm trước

A proper Turkish solution;

prokur.net - có email của tôi ¶

14 năm trước

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not

mattalexxpub tại gmail dot com ¶

13 năm trước

string0

string1

string2

string3

Mingalevme tại Gmail Dot Com ¶

8 năm trước

string4

string5

Markus Ernst ¶

16 năm trước

string7

string8

Qeremy [atta] gmail [dotta] com ¶

14 năm trước

0

1

2

mattalexxpub tại gmail dot com ¶

8 năm trước

4

5

Markus Ernst ¶

charliefortune ¶

13 năm trước

8

9

Simple multi-bytes ucfirst[]:0

string3

13 năm trước

Simple multi-bytes ucfirst[]:2

Simple multi-bytes ucfirst[]:3

string3

Mingalevme tại Gmail Dot Com ¶

Simple multi-bytes ucfirst[]:5

Simple multi-bytes ucfirst[]:6

8 năm trước

16 năm trước

Simple multi-bytes ucfirst[]:8

Simple multi-bytes ucfirst[]:9

Qeremy [atta] gmail [dotta] com ¶

10 năm trước

1

2

prokur.net - có email của tôi ¶

10 năm trước

4

5

6

7

prokur.net - có email của tôi ¶

14 năm trước

8

9

mattalexxpub tại gmail dot com ¶

13 năm trước

1

2

string3

13 năm trước

4

5

6

7

string3

Mingalevme tại Gmail Dot Com ¶

8

9

A proper Turkish solution;0

A proper Turkish solution;1

A proper Turkish solution;2

A proper Turkish solution;3

A proper Turkish solution;4

8 năm trước

14 năm trước

A proper Turkish solution;6

A proper Turkish solution;7

A proper Turkish solution;8

A proper Turkish solution;9

0

mattalexxpub tại gmail dot com ¶

13 năm trước

1

2

string3

Mingalevme tại Gmail Dot Com ¶

4

5

8 năm trước

Mingalevme tại Gmail Dot Com ¶

7

8

8 năm trước

Markus Ernst ¶

0

1

2

3

charliefortune ¶

5

Kiprasbal tại Gmail Dot Com ¶

Markus Ernst ¶

7

8

9

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
0

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
1

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
2

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
3

charliefortune ¶

Kiprasbal tại Gmail Dot Com ¶

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
4

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
5

6

14 năm trước

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
7

I believe that mb_ucfirst will be soon added in PHP, but for now this could be useful


it also check is mb support enabled or not
8

A proper Turkish solution;9

0

mattalexxpub tại gmail dot com ¶

14 năm trước

string01

string02

Markus Ernst ¶

16 năm trước

string04

string05

Qeremy [atta] gmail [dotta] com ¶

14 năm trước

string07

string08

8 năm trước

14 năm trước

string10

string11

8 năm trước

Mingalevme tại Gmail Dot Com ¶

8 năm trước

string14

Markus Ernst ¶

16 năm trước

string16

string17

Qeremy [atta] gmail [dotta] com ¶

13 năm trước

string19

string20

string3

10 năm trước

string22

string23

string24

Bài Viết Liên Quan

Chủ Đề