Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Visual Basic language keywords and run-time library members are organized by purpose and use.
| Action | Language element |
|---|---|
| Compare two strings. | StrComp |
| Convert strings. | StrConv |
| Reverse a string. | InStrRev, StrReverse |
| Convert to lowercase or uppercase. | Format, LCase, UCase |
| Create a string of repeating characters. | Space, StrDup |
| Find the length of a string. | Len |
| Format a string. | Format, FormatCurrency, FormatDateTime, FormatNumber, FormatPercent |
| Manipulate strings. | InStr, Left, LTrim, Mid, Right, RTrim, Trim |
| Set string comparison rules. | Option Compare |
| Work with ASCII and ANSI values. | Asc, AscW, Chr, ChrW |
| Replace a specified substring. | Replace |
| Return a filter-based string array. | Filter |
| Return a specified number of substrings. | Split, Join |
See also
Comhoibriú linn ar GitHub
Is féidir foinse an inneachair seo a fháil ar GitHub, áit inar féidir leat fadhbanna agus iarratais ar tharraingt a chruthú agus a athbhreithniú. Chun tuilleadh faisnéise a fháil, féach ár dtreoir rannpháirtithe .