String Functions in VBA
Posted on Aug 14, 2014 in Computer Science
Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.
Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement.
String Repeating Functions
- string(12, "*") can only repeat character
- space(12) 12 spaces
Substring Functions
- left
- right
- mid
- InStr([start], string, substring, [compare]), 0 is returned is not found
- InstrRev
String Manipulation
- ltrim
- rtrim
- trim
- lcase
- ucase
- replace
- strconv
Special Characters
- vbcrlf
- vbcr
- vblf
Conversion
- val