You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not an experienced programmer, so the suggestion may possibly break the expected behavior, but after reading the documentation
The pad operator requires at least one parameter which specifies the desired length of the input titles
I was expecting the pad operator to return values of exactly the provided length, i.e. cutting titles that were too long as well as padding those that are too short. What do you think? The suffixes prefix and suffix could determine which end to cut. Does it make sense to use pad as a very simple substring operator?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I am not an experienced programmer, so the suggestion may possibly break the expected behavior, but after reading the documentation
I was expecting the
pad
operator to return values of exactly the provided length, i.e. cutting titles that were too long as well as padding those that are too short. What do you think? The suffixesprefix
andsuffix
could determine which end to cut. Does it make sense to usepad
as a very simple substring operator?Beta Was this translation helpful? Give feedback.
All reactions