String Manipulation Summary (Visual Basic)
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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για