Login   /   Register

Modify characters within a string

Rate this article
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...
April 1st, 2008 by daniva

Use the Mid Function to modify a sub string within a string.

str1 = "1234567890"
startPos = 3
charCount = 4
Print Mid( str1, startPos, charCount ) = "QTP"

Posted in VBScript

Leave a Reply

You must be logged in to post a comment.

This article was viewed 346 times