- Extract volume units from string Demo of extracting numeric data from strings. Data representing volume units of drinks (ml, litres, etc.). Using regexps in Python
- Validate Content Format in a String Variable This code sample shows how to test if a string corresponds to predefined format (example with SSN and chemical element name). Python re module used for regular expressions.
- Capitalize each word in a string variable Python solution (with spssdata module) to parse each value of a string variable and make the first letter of each word capital (uppercased)
Navigate from here