Jump to content
  • Advertisement

Archived

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

Leadorn

Text format vb

This topic is 5478 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!