abapOpenChecks
abapOpenChecks copied to clipboard
spaces in connection with '
foo = 'moo' && ' bar'.
can be reduced to
foo = 'moo' && 'bar'.
due to how spaces and character fields works in ABAP
@larshp your example is not valid:
foo = 'moo' && ' bar'.
will result in moo bar
.
Only trailing spaces are trimmed.
So these cases are all the same and will result in moobar
:
foo = 'moo' && 'bar'.
foo = 'moo ' && 'bar'.
foo = 'moo ' && 'bar '.
oh, didnt test it 😄 I usually just dont do spaces in beginning or end of characters
thanks