pydicom.valuerep.MultiString¶
-
pydicom.valuerep.MultiString(val, valtype=<class 'str'>)¶ Split a bytestring by delimiters if there are any
- Parameters
val (bytes or str) – DICOM byte string to split up.
valtype – Default
str, but can be e.g.UIDto overwrite to a specific type.
- Returns
The split value as valtype or a
listof valtype.- Return type
valtype or list of valtype