10 6 61 TrimBlankConcat

LANSA Technical

10.6.61 TrimBlankConcat

TrimBlankConcat concatenates up to 10 strings, removing trailing blanks, and inserting a blank between each parameter.

Input Parameters

String1 - String to be concatenated

String2 - String to be concatenated

String3 - String to be concatenated

String4 - String to be concatenated

String5 - String to be concatenated

String6 - String to be concatenated

String7 - String to be concatenated

String8 - String to be concatenated

String9 - String to be concatenated

String10 - String to be concatenated

Example

If #Firstname contained '   Veronica  ' and #Surname contained ' Brown ', the result would be 'Brown Veronica':

#Com_owner.Caption := #Surname.TrimBlankConcat(#Firstname)

 

This is equivalent to writing:

#Com_owner.Caption := #Surname.Trim + ' ' + #Firstname.Trim

 

Ý 10.6 Alphanumeric/String Intrinsic Functions