William Hunter Active Member Licensed User Longtime User Jul 28, 2017 #1 Is there a way to pad a string to the right or left with another short string, without specifying the length of the final padded string? Any help greatly appreciated. Best regards Edit: Over thinking again - this is resolved B4X: MyString = (LeftPadding & MyString) MyString = (MyString & RightPadding) Last edited: Jul 28, 2017
Is there a way to pad a string to the right or left with another short string, without specifying the length of the final padded string? Any help greatly appreciated. Best regards Edit: Over thinking again - this is resolved B4X: MyString = (LeftPadding & MyString) MyString = (MyString & RightPadding)