String.htm 984 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>String$ (string$, integer)</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. string$ = any valid string or string variable <br />
  13. integer = the number of times to repeat the string
  14. </td>
  15. </tr>
  16. </table>
  17. <h1>Description</h1>
  18. <table>
  19. <tr>
  20. <td>
  21. This makes a string filled with the specified occurances of the designated string. In other words, you could use this command to write the same string over and over again. See the example.
  22. </td>
  23. </tr>
  24. </table>
  25. <h1><a href=../2d_examples/String.bb>Example</a></h1>
  26. <table>
  27. <tr>
  28. <td>
  29. name$="Shane" <br />
  30. ' Write the name string 10 times <br />
  31. Print String$(name$,10) <br />
  32. </td>
  33. </tr>
  34. </table>
  35. <br>
  36. <a target=_top href=../index.htm>Index</a><br>
  37. <br>
  38. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=String&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  39. </html>