This project is not covered by Drupal’s security advisory policy.
String left pad
Usage
/** @var ContainerInterface $container */
$service = $container->get('left_pad.default');
// Results in '00005'
$result = $service->leftPad('5', 5, 0);
Don't worry, it also includes an interface if you want to override the service!
Project information
Seeking new maintainer
The current maintainers are looking for new people to take ownership.- Project categories: Developer tools
- Created by dave reid on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.