VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

SMid Smart Mid

Derek de Oliveira  (1 Submission)   VB function enhancement   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This function is similar to the Mid function. Except, you can specify the starting, and ending strings (capture the data in between).

Inputs
orig_string As String : Source string start As Long : Location in source to start from str_start As String : beginning string (capture from) str_end As String : ending string (capture to)

Returns
This code will return the data that is found between the "str_start" and "str_end" strings.

Rate SMid Smart Mid (3(3 Vote))
SMid Smart Mid.bas

SMid Smart Mid Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters