method

Payments::CleanValue method

Cleans a string value to make it viable for the Swiss Payment Standards 2018.

static void Aspose::BarCode::ComplexBarcode::Payments::CleanValue(System::String value, Payments::CleaningResult &result)
ParameterTypeDescription
valueSystem::StringThe string value to clean.
resultPayments::CleaningResult&The result to be filled with cleaned string and flag.

Remarks

Unsupported characters(according to Swiss Payment Standards 2018, ch. 2.4.1 and appendix D) are replaced with spaces(unsupported whitespace) or dots (all other unsupported characters). Leading and trailing whitespace is removed.

If characters beyond 0xff are detected, the string is first normalized such that letters with umlauts or accents expressed with two code points are merged into a single code point(if possible), some of which might become valid.

If the resulting strings is all white space, null is returned.

See Also