I need to determine if the last character of a sting variable is a back-slash. The logic I am looking to implement is...
If Right($TARGETDIR$,1) is not equal to "\" then Set Variable $TAGETDIR$ to $TARGETDIR$ + "\"
The "Extract Path" is no good as the path could be in a UNC format so it replaces the initial \\ with a single
Look forward to your reply, Adrian
String function - Finding righter-most character
-
- Posts: 32
- Joined: Fri Jul 25, 2014 5:21 am
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: String function - Finding righter-most character
Dear Adrian,
please have a look at the following discussion.
http://www.installaware.com/forum/viewtopic.php?f=2&t=10154&start=0
Regards
please have a look at the following discussion.
http://www.installaware.com/forum/viewtopic.php?f=2&t=10154&start=0
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Google [Bot], JohnGaver and 116 guests