Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
OBF-7
//Title of this code //'main' method must be in a class 'Rextester'. import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { String url = "https://portal.xxxx.yyy/portal/intranet/" ; String hostName = url.substring(0,url.indexOf("/portal")); System.out.println("hostname ="+ hostName) ; } }
run
|
edit
|
history
|
help
0
fst
Find Median in Large File of Integers
different ways to add parenthesis leetcode #241
Black Jack by Craig
CRUD vehicules
LambdaExpression
Человечки
Problem: on_off
f
Java # Bir Cumlenin uzunluğu