I have written a class in my sandbox and when i try to push the code into prodn i get this error.
Method does not exist or incorrect signature: [String].normalizeSpace()
Both prodn and sandbox uses api ver 25.0. Any idea on why this error when moving the code to prodn.
for(Integer i = 0; i < lallowedStates.size(); i++)
{
lallowedStates[i] = lallowedStates[i].normalizeSpace();
sAllowedStates.add(lallowedStates[i]);
}