Jump to content

creating substrings?

Recommended Posts

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




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?




Share this post

Link to post

Ha!  Thanks, Pat.


I've been reading through almost all of the functions in the string section of the function ref.  But I skipped Copy because that didn't sound like what I wanted to do!


Share this post

Link to post

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.

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.


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...