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
VB.NET: Functions aren't required to return a value
CAI Visual Basic - Ej Elecciones
loop 1
Me3.1
CAI Visual Basic - Ej Citas
Poem of the day from 'Selected Poems of Rumi (Dover Thrift Edition)'
ex4
rotina de professores (select case)
ABS Cracker
Denary numbers to binary for numbers below 255