Join Slack
Powered by
<How can split a string which include only one hyp...
# stackoverflow
u
user
06/26/2022, 3:11 AM
How can split a string which include only one hyperlink into multiple segments in Kotlin?
There is a string which include only one hyperlink, I hope to split it into multiple segments in Kotlin. How can do? Thanks! The follwoing is some sample source and target. Visit our
website
for the latest news -> a[0]="Visit our" a[1]="
http://www.google.net
" a[2]= "website" a[3]="for the latest news" Visit our
website
-> a[0]="Visit our" a[1]="
http://www.google.net
" a[2]= "website"...
3
Views
Open in Slack
Previous
Next