10-02-2014, 11:47 AM
Hello !
I'm creating a Website, and, in order to make some repetitives tasks more fun to do, i created some macros.
But, as you may know, in an URL, there can't be any spaces.
So, i would like to know if there is a way, in a variable, to replace " spaces " by this : " - "
So that, when i enter this in the variable : " this is the url "
Quick macro will understand : " this-is-the-url "
This is my variable code atm :
Thanks in advance !
I'm creating a Website, and, in order to make some repetitives tasks more fun to do, i created some macros.
But, as you may know, in an URL, there can't be any spaces.
So, i would like to know if there is a way, in a variable, to replace " spaces " by this : " - "
So that, when i enter this in the variable : " this is the url "
Quick macro will understand : " this-is-the-url "
This is my variable code atm :
str url ;;string variable. If need numeric, replace str to int or double.
int ok1=inp(url "Url name with " - " instead of spaces ?")
Thanks in advance !