Home > Software engineering >  About extracting TXT last characters in a row
About extracting TXT last characters in a row

Time:11-13

A TXT, the following
FAI 15.07 0.04 0.05 0
FAI 17.08 0.06 0.08 0.05
FAI 18 0.08 0.02 0
If the last character are all in a row 0, while the text content

CodePudding user response:

The last one character at a time? You can use the mid function
?
Mid (string, len (string)), capture the last character

CodePudding user response:

reference 1st floor response:
last characters? You can use the mid function
?
Mid (string, len (string)), capture the last character

Children, have not learned the Right function?


Right (string, 1) is take the string's "the last one character",

CodePudding user response:

refer to the second floor a toast to invite the bright moon response:
Quote: refer to 1st floor response:

The last one character at a time? You can use the mid function
?
Mid (string, len (string)), capture the last character

Children, have not learned the Right function?


Right (string, 1) is take the string's "the last one character",


Learned, and LEFT function, but these functions cannot be at VB.NET directly or move, and add reference, or a string prefix, sometimes need to put some old code migration to VB.NET, lazy with MID wouldn't have changed
  • Related