/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
samples/snippets/visualbasic/VS_Snippets_CLR/conceptual.string.basicops/vb/replace1.vb
16 строк
442 B
Next Turn
Format codes based on .editorconfig, Part 12 (#18941)
15 июн 2020, 18:51
Не верифицирован
15 июн 2020, 18:51
6eb125b
Код
Авторство
О чём код?
' Visual Basic .NET Document Option Strict On ' <Snippet23> Module Example Public Sub Main() Dim phrase As String = "a cold, dark night" Console.WriteLine("Before: {0}", phrase) phrase = phrase.Replace(",", "") Console.WriteLine("After: {0}", phrase) End Sub End Module ' The example displays the following output: ' Before: a cold, dark night ' After: a cold dark night ' </Snippet23>