in JAVA by
Q:

I have a string "refer reference-book" and I want to find the first character which occurs only once, in this string I have 2 characters which occurs only once which is a space " " and a hyphen "-" but the first character is space " " so I want to return that from a method.

How to do this?

Related questions

+1 vote
asked Jun 16, 2019 in JAVA by reins.robin
+1 vote
asked May 29, 2020 in JAVA by anonymous
0 votes
0 votes
asked May 17, 2020 in JAVA by SakshiSharma
0 votes
asked Feb 25, 2020 in JAVA by miceperry
...