Skip to content

Instantly share code, notes, and snippets.

@akatz
Created February 5, 2014 14:34
Show Gist options
  • Save akatz/8824858 to your computer and use it in GitHub Desktop.
Save akatz/8824858 to your computer and use it in GitHub Desktop.
NSString * quantityValueWithoutX = [self.quantityLabel.text stringByReplacingOccurrencesOfString:@"x" withString:@""];
quantityLabel.to_s.gsub("x","")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment