This week we're duplicating another string function from PHP: str_repeat().
ASP
function str_repeat(input, multiplier)dim outputoutput = ""for i = 1 to multiplieroutput = output & inputnextstr_repeat = outputend function
ASP and PHP code that you can use and re-use. Practical examples for real-world programming, under a Creative Commons license.
This week we're duplicating another string function from PHP: str_repeat().
function str_repeat(input, multiplier) dim output output = "" for i = 1 to multiplier output = output & input next str_repeat = outputend functionAll the code examples on this blog are licensed under a Creative Commons Attribution 3.0 License.
No comments:
Post a Comment