Programmer2006
Programmer
I have a strings "Foamtreads" and "Mens_Foamtreads"
I have an if else statement
if (there is a dash){
//remove dash
}
I can't figure out my if statement because I am getting an Argument out of Range exception when there is no dash.
if(dashPositioon=strTemp.IndexOfAny('_')!=null)
I have an if else statement
if (there is a dash){
//remove dash
}
I can't figure out my if statement because I am getting an Argument out of Range exception when there is no dash.
if(dashPositioon=strTemp.IndexOfAny('_')!=null)