Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Algorithm to create first letter of each word mnemonic
'Rextester.Program.Main is the entry point for your code. Don't change it. 'Compiler version 11.0.50709.17929 for Microsoft (R) .NET Framework 4.5 Imports System : Imports System.Collections.Generic : Imports System.Linq : Imports System.Text.RegularExpressions Namespace Rextester Public Module Program Public Sub Main(args() As string) Dim textstring as string= _ "The quick brown fox jumped over the lazy dog" Dim sWords as String()=textstring.Split(New Char() {" "c}) Dim sMnemonic as String="" Dim i as Integer For i=0 to sWords.length() - 1 sMnemonic=sMnemonic & sWords(i).substring(0,1) & " " Next Console.Writeline("The original text:" & textstring) Console.Writeline("Boils down to this mnemonic:" & sMnemonic) End Sub End Module End Namespace
run
|
edit
|
history
|
help
0
CAI - Visual Basic - Libreria de funciones
falhanço épico
a
CAI Visual Basic - Ej Citas
VB.NET: Functions aren't required to return a value
Códigos dum boi olhando para um palácio
Expand Treeview Job Entry Epicor - VB
Web application
http://wataniaind.com/SitePages/HomePage.aspx
exercicio 4