Concatenate strings with + . If you're doing this in a loop, you should be using a StringBuilder not a String (StringBuilder.append).
However, an expression like
s1 + s2 + s3 + s4
is apparently optimised by the compiler so that it is not done as three separate string copies.
Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )