Search the Community
Showing results for tags '_stringtitlecase()'.
-
_StringTitleCase() and _StringProper() not support Vietnamese ? Global Const $Vietnamese_stringlower_List = "á|à|ả|ã|ạ|â|ấ|ầ|ẩ|ẫ|ậ|ă|ắ|ằ|ẳ|ẵ|ặ|đ|ê|é|è|ẻ|ẽ|ẹ|ế|ề|ể|ễ|ệ|ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự|ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ|í|ì|ỉ|ĩ|ị|ý|ỳ|ỷ|ỹ|ỵ" Global Const $Vietnamese_STRINGUPPER_List = "Á|À|Ả|Ã|Ạ|Â|Ấ|Ầ|Ẩ|Ẫ|Ậ|Ă|Ắ|Ằ|Ẳ|Ẵ|Ặ|Đ|Ê|É|È|Ẻ|Ẽ|Ẹ|Ế|Ề|Ể|Ễ|Ệ|Ú|Ù|Ủ|Ũ|Ụ|Ư|Ứ|Ừ|Ử|Ữ|Ự|Ó|Ò|Ỏ|Õ|Ọ|Ô|Ố|Ồ|Ổ|Ỗ|Ộ|Ơ|Ớ|Ờ|Ở|Ỡ|Ợ|Í|Ì|Ỉ|Ĩ|Ị|Ý|Ỳ|Ỷ|Ỹ|Ỵ" Global Const $Vietnamese_to_ASCII[14][2] = [["a" = "á|à|ả|ã|ạ|â|ấ|ầ|ẩ|ẫ|ậ|ă|ắ|ằ|ẳ|ẵ|ặ"], ["A" = "Á|À|Ả|Ã|Ạ|Â|Ấ|Ầ|Ẩ|Ẫ|Ậ|Ă|Ắ|Ằ|Ẳ|Ẵ|Ặ"], ["d" = "đ"], ["D" = "Đ"], ["e" = "ê|é|è|ẻ|ẽ|ẹ|ế|ề|ể|ễ|ệ"], ["E" = "Ê|É|È|Ẻ|Ẽ|Ẹ|Ế|Ề|Ể|Ễ|Ệ"], ["u" = "ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự"], ["U" = "Ú|Ù|Ủ|Ũ|Ụ|Ư|Ứ|Ừ|Ử|Ữ|Ự"], ["o" = "ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ"], ["O" = "Ó|Ò|Ỏ|Õ|Ọ|Ô|Ố|Ồ|Ổ|Ỗ|Ộ|Ơ|Ớ|Ờ|Ở|Ỡ|Ợ"], ["i" = "í|ì|ỉ|ĩ|ị"], ["I" = "Í|Ì|Ỉ|Ĩ|Ị"], ["y" = "ý|ỳ|ỷ|ỹ|ỵ"], ["Y" = "Ý|Ỳ|Ỷ|Ỹ|Ỵ"]] Global Const $Vietnamese_Capitalize_Text = "Đây Là Dòng Chữ Tiếng_Việt Chuẩn" Global Const $Vietnamese_stringlower_text = "đây là dòng chữ tiếng_việt chuẩn" Global Const $Vietnamese_STRINGUPPER_text = "ĐÂY LÀ DÒNG CHỮ TIẾNG_VIỆT CHUẨN" ConsoleWrite("- " & (StringLower($Vietnamese_STRINGUPPER_text) == $Vietnamese_stringlower_text) & @CRLF) ;True -> OK ConsoleWrite("- " & (StringLower($Vietnamese_Capitalize_Text) == $Vietnamese_stringlower_text) & @CRLF) ; True -> OK ConsoleWrite("- " & (StringUpper($Vietnamese_stringlower_text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ;True -> OK; ConsoleWrite("- " & (StringUpper($Vietnamese_Capitalize_Text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ; True -> OK ConsoleWrite("- " & (_StringTitleCase($Vietnamese_stringlower_text) == $Vietnamese_Capitalize_Text) & @CRLF) ; Not ConsoleWrite("- " & (_StringTitleCase($Vietnamese_STRINGUPPER_text) == $Vietnamese_Capitalize_Text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringTitleCase($Vietnamese_stringlower_text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringTitleCase($Vietnamese_Capitalize_Text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringTitleCase($Vietnamese_Capitalize_Text) == $Vietnamese_stringlower_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringTitleCase($Vietnamese_STRINGUPPER_text) == $Vietnamese_stringlower_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_stringlower_text) == $Vietnamese_Capitalize_Text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_STRINGUPPER_text) == $Vietnamese_Capitalize_Text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_stringlower_text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_Capitalize_Text) == $Vietnamese_STRINGUPPER_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_Capitalize_Text) == $Vietnamese_stringlower_text) & @CRLF) ;False -> Not workign in Vietnamese ConsoleWrite("- " & (_StringProper($Vietnamese_STRINGUPPER_text) == $Vietnamese_stringlower_text) & @CRLF) ;False -> Not workign in Vietnamese