1.0.4 • Published 4 years ago
venkat-python-methods v1.0.4
// examples
require('venkat-python-methods');
let titlecase = "hi hELLOW, hoW Are You.!".title();
console.log(titlecase); // Hi Hellow, How Are You.!
let centeredStr = "hello".center(9,'-');
console.log(centeredStr); // --hello--
All string functions: 1. capitalize, 2. center, 3. count, 4. expandtabs, 5. isalnum, 6. isalpha, 7. isdigit, 8. islower, 9. isupper, 10. isspace, 11. swapcase, 12. title, 13. zfill, 14. ljust, 15. rjust