07-31-2024, 10:51 PM
Why not just use variable length strings and not have the worry over it?
Fixed length strings are set to a fixed length -- like a "foot long sub".
Variable length strings are set the the length of the contents -- like a "sub" can be 4 inch, 6 inch, or 12 inches.
It just seems odd, to me, to basically be asking for, "Hi. I'd like to order a four inch, foot-long sub!"
"What? Would you like the four inch? Or the foot long?"
"I want the four inch, foot long sub!"
You know, I might just try that the next time I go into my local sub shop. I'd love to see the expression on their faces!
Fixed length strings are set to a fixed length -- like a "foot long sub".
Variable length strings are set the the length of the contents -- like a "sub" can be 4 inch, 6 inch, or 12 inches.
It just seems odd, to me, to basically be asking for, "Hi. I'd like to order a four inch, foot-long sub!"
"What? Would you like the four inch? Or the foot long?"
"I want the four inch, foot long sub!"
You know, I might just try that the next time I go into my local sub shop. I'd love to see the expression on their faces!