Hi
Mine is avery simple question . How do i print the
same character a number of time . For example if i
want to Print a space a number of time . I write
space(len) . Is there any built in function available for other
characters also..
Thanks
Any number will do but be careful that only numbers are entered in that text box. Better
Code:
Dim lngAsterL as long
Dim strAsterL as string
lngAsterL = 0
strAsterL = txtCurrentScore.text
IF IsNumeric(strAsterL) = True then
lngAsterL = CLng(strAsterL) 'Expicit Coerce
End If
strNew = String(lngAsterL,"*")
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.