editing a received value

  • Thread starter Thread starter jacy.york
  • Start date Start date
J

jacy.york

Does anyone know how to detect the final character in a variable.
I am trying to pass a path from the registry to a command prompt
however the format of the registry value contains an invalid character
for the batch process I'm trying to run. Does anyone know how I can
detect the value and change it to a valid format.
 
Is your question how to change the last character of a string, or how to
detect characters in a string that the command prompt will have difficulties
parsing?
 
Back
Top