How to use padding instead of using Space .
What is the difference between split and using pad?
Thank you
Joe Wilson
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 3, 2014, 3:13 PM
Joe WilsonPosted Apr 21, 2014, 9:05 AM
Joe WilsonPosted Apr 18, 2014, 2:17 PM
Joe Wilson
Jignesh TrivediPosted Apr 4, 2014, 12:18 AM
hi,
Agree with vulpes, string has two padding methods, PadLeft and PadRight.
this method create a new string that consists of an original string that is padded with trailing /leading character to the specified total length. padding chatater may be any thing. spaces, any alphabat any thing.... this returns string.
Split method of string takes the character or string that indicate which character are tobe used as delimiters. it return array of string / character
hope this will help you.