Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
WithoutPortNo
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here string src = ":443/dext5editordata/2017/12/20171228_191217524_37634.png"; int firstindex=src.IndexOf("/"); string witoutportno=src.Substring(firstindex); Console.WriteLine(witoutportno); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
deletevowels
StudentSysInput
Matrix Pattern
Modulul 3, Exerciţiul 2 – Crearea şi utilizarea unui tip struct
koko
Next Letter
Mintra url string replace
Generics
Generic hierarchy
Проверка на одинаковые цифры в пятизначном числе.
stackse - search stackoverflow differently
Please log in to post a comment.