1. String converted into numbers, such as "1234" converted into numbers 1234: String str = "1234"; int i = convert.Toint32 (STR);
2. Format the string, add a specific character to the end of the string of less than 30, make up n characters, use the Padright (int, char) method of the String class, String str = "1234"; str = str.padright (30 , '') // Add a space to the end of the string of less than 30, make up 30 characters 3. Replace the specific string in the string, such as replacement "." "_", Str.replace (".", "_"); Or regex.replace (STR, ".", "_"); 4. Compare the version size of two files, such as "1.2.0.2" and "1.3.2.2.32": int version1 = Convert .Toint32 (Versionstr1.Replace (",")); int version2 = convert.Toint32 (Versionstr2.Replace (".", ""); If (version1 == Version2) label1.text = "== ====== "; Else IF (Version1