How to str_repeat in C# 0
Dec9
This’ll teach you how to repeat a string similar to PHP str_repeat in C sharp.
private string StrRepeat(string text, int times)
{
return new String(' ', times).Replace(" ", text);
}This’ll teach you how to repeat a string similar to PHP str_repeat in C sharp.
private string StrRepeat(string text, int times)
{
return new String(' ', times).Replace(" ", text);
}Wordpress Themes sponsored by BlogPerfume
arkinEx Codex is powered by WordPress and FREEmium Theme.
developed by Dariusz Siedlecki and brought to you by FreebiesDock.com
subscribe to comments RSS
There are no comments for this post