Hello-

Two questions related to string variables:



1.)  Is it possible to select ('search') a string and then modify
('replace') it utilizing the shell below?:

dim sWorkspaceString as string
'-----------------------------------
sWorkspaceString = WindowInfo(frontwindow(), win_info_workspace)
print sWorkspaceString
'-----------------------------------

2.)  Is it possible to use the Like() function to find a substring in
conjunction with the above syntax??


I'm trying to write a quick script that will find map publishing dates
on all layouts and replace those with today's date, using:
FormatDate$(CurDate()).  If anyone has a suggestion for a better way,
please let me know. 


Thanks!

John

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18459

Reply via email to