I'm trying to find out how to retrieve the second class name of a class attribute.

For example, having:

<div class="something fooBar"></div>

How can I get the second class named "fooBar" ?

I know you can add, remove, and check a specific class but I couldn't find documentation how to retrieve a second class into a variable.

Edit
Report