Converts a value from text.
This function works for any readable type (the only non-readable types are function types). If the intended type cannot be inferred automatically, you may need to use the from text to(..) function to specify the type .
Some notes for specific types:
Converts a value from text, specifying the target type.
See from text(..) for more details.
Converts a value to text.
Extracts a number from the given text. If there is no number, or two numbers, gives an error.
The difference between this function and from text(..) is that this function will accept and ignore extra text around the number, and deal with comma separators. So whereas from text will give an error on "P65n" because it's not solely a number, this extract number function will return 65.
The function assumes that commas are thousand separators, and dot is the decimal separator. If you need to convert continental European style numbers where the opposite is true, use the replace many function as shown in the last example.
Extracts a number from the given text. If there is no number, or two numbers, gives back None.
The difference between this function and extract number(..) is that this function gives back an Optional(Number), so rather than giving an error when there is no number, it gives back None. Successfully extracted numbers are wrapped in the opposing Is constructor; see the optional guide.