pydicom.values.multi_string¶
- pydicom.values.multi_string(val: str, valtype: Callable[[str], _T] | None = None) _T | MutableSequence[_T] [source]¶
Split a string by delimiters if there are any
- Parameters:
- Returns:
The split value as valtype or a
MultiValue
of valtype.- Return type:
valtype or MultiValue[valtype]