I have a string and i'd like to remove all tags with < and >

For example:

in the String

```
<title>Java Code</title>

```

will be

```
Java Code

```

and

```
<pre><font size="7"><strong>Some text here

</strong></font><strong>

```

will be

```
Some text here

```

How can it be done with using charAt(i)?
Thanks in advance