Jump to content
Developer Wiki and Function Reference Links ×

creating substrings?


michaelk

Recommended Posts

I have a string variable which is digits followed by a space followed by stuff I don't care about or want.

 

sooooo

 

1).  I make the variable a type DYNARRAY[ ] OF CHAR.

2).  I use POS(' '); to find the first space in the array.

 

how do I create a string variable that is only 1 thru (POS(' ') -1) of that array?

 

Am I on the right track?

 

mk

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...