Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

TrimRight in visual basic script

i saw that there is TrimRight To Trim spaces
is there any function to Trim Characters?
0
yaelsh
Asked:
yaelsh
1 Solution
 
TimCotteeCommented:
Use

MyString = Left(MyString,Len(MyString) - 2)

To remove the last two characters from a string whatever they may be.
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now