Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15705

VB6 - String Formatting

$
0
0
There is this bit of code:
Code:

Format(UCase(value), "!@@@@@@@@@@@@@@@@")
Looking at the user-defined string formats documentation, I wanted to verify that this code is doing the following:
  1. Force the incoming string to uppercase
  2. Take the last 16 characters
  3. If the length of the string is less than 16, append spaces for each missing character

Viewing all articles
Browse latest Browse all 15705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>