AnsweredAssumed Answered

Spaces in String Variable

Question asked by tonalca6864 on Dec 20, 2013
Latest reply on Dec 22, 2013 by tonalca6864
Hi,

I have an issue with my script related to the space in the string variable (see below). If "MinNPP" is used instead it works fine.
I've also tried setting the variable as str(arcpy.GetParameterAsText(6)) but it doesn't work either. The variable is set as String data type in the tool; Filter = Value list. Version used is 10.0

Variable:

NPPEquation = arcpy.GetParameterAsText(6)

Process:

if NPPEquation == "Min NPP1":


Thank you

Toni

Outcomes