Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Leadorn

Text format vb

This topic is 5655 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi If i have some text lets say "Kill leadorn for pleasure" if i only want to print leadorn from this text who would I do that? Visual basic, VBSCRIP.

Share this post


Link to post
Share on other sites
Advertisement
and if you look for a special word in a string, use instr()

I dont know the parameters exactly, just look into the help.

Maxi

Share this post


Link to post
Share on other sites
dim position as integer
position = instr(1, mystring, "findme") + len("findme") + 1
msgbox mid(mystring, position, len("findme") - position)



-eldee
;another space monkey;
[ Forced Evolution Studios ]


::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!