powered by
Parses a string (usually a cell name) and extracts fields based on a delimiter
ExtractField(string, field = 1, delim = "_")
A new string, that parses out the requested fields, and (if multiple), rejoins them with the same delimiter
String to parse.
Integer(s) indicating which field(s) to extract. Can be a vector multiple numbers.
Delimiter to use, set to underscore by default.
ExtractField('Hello World', field = 1, delim = '_')
Run the code above in your browser using DataLab