Merges two optional strings into a single optional string. If both po and no are defined, the resulting string is their concatenation in the format po.no. If only one of the options is defined, it returns that single option. If neither are defined, it returns None.
Merges two optional strings into a single optional string. If both po and no are defined, the resulting string is their concatenation in the format po.no. If only one of the options is defined, it returns that single option. If neither are defined, it returns None.
Value parameters
no
an optional suffix string; if defined, it will form the second part of the resulting string.
po
an optional prefix string; if defined, it will form the first part of the resulting string.
Attributes
Returns
an optional string in the format po.no if both options are defined, or the defined option if only one is present, or None if both are None.