[New Feature] Add padStart
, padEnd
, padZero
langlib functions to string.bal
#35587
SandaruJayawardana
started this conversation in
General
Replies: 2 comments 3 replies
-
Since maximum length of Java |
Beta Was this translation helpful? Give feedback.
2 replies
-
@gimantha, @SandaruJayawardana, I saw that the implementation is done in java. Can't we implement it using ballerina? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
User can easily add padding in strings with this feature.
padStart
- Adds padding to the start of a stringEx:
padEnd
- Adds padding to the end of a stringEx:
padZero
- Adds padding to the start of a stringEx:
Your input is much appreciated on this.
Lang issues: #35546, #35548
Beta Was this translation helpful? Give feedback.
All reactions