Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Getting a string between quotes

Author
Message
Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 20th Sep 2003 05:58
I want to have a function that takes a string and getts the info
between the quotes or even "'"s

Any help would be greatly appreiated

The rock has rolled!
Hell IVIonkey
22
Years of Service
User Offline
Joined: 1st Apr 2003
Location: Outer Limits
Posted: 20th Sep 2003 07:11
mystring$ = chr$(34)+"Some sample text"+chr$(34)

BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Sep 2003 15:23


Probably many more ways to skin the same cat, but this works for me.

Wik
21
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 20th Sep 2003 16:45
I don't think you got what I was saying...but with some modification
to StevieVee's code I got it to work.

Thanks

The rock has rolled!

Login to post a reply

Server time is: 2025-05-21 07:48:33
Your offset time is: 2025-05-21 07:48:33