May-20-2020, 02:27 PM
Hi
I've a question about proper method to split a string.
my strings are like this:
Thanks for your help
Alex
I've a question about proper method to split a string.
my strings are like this:
object Host "serviceXXX-YYYY" {I'm doing my plit like this:
hostname = line.split(" ")[2].split('"')[1]Do you have a better method to do this split?
Thanks for your help
Alex