VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Find text in tags

Jason Yong  (1 Submission)   String Manipulation   Visual Basic 5.0   Beginner   Wed 3rd February 2021

This is just a simple code to find the text in a tag. like, [tag] I'm a tag![/tag]

Inputs
Text = is the string to search StartTag = is the first part of the tag to look for. like [tag] EndTag = Is the end tag like [/tag] 'it will return different values depending on the ReturnCode

Returns
if ReturnCode = 1 will return the text 2 will return where the first tag starts 3 will return where the text in the tag starts 4 will return where the tag ends

Rate Find text in tags (2(2 Vote))
Find text in tags.bas

Find text in tags Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters