Good day,

I have the following string : 
[Star]ALERT[Star]Domoos detects blabla[blabli]

For strange reasons, the code below does not detect the star at the very first character. I read in the php documentation that the first character has an index of 0. However, if I am looking for the '[', the function works very well.

What I am trying to achieve is to ensure that the first character of my string is really a \* (star). Strangely, if I enter $pos1 = strpos($inputString, '\*', 1), the star shown at position '6' would be returned.

I don't quite understand why my code does not work as expected (i.e. does not enter into the 'true' condition)

```
$inputString = '*ALERT*Domoos detects blabla[blabli]';
$pos1 = strpos($inputString, '*', 0);

if ($pos1 == True)
{
echo 'position' . $pos1;
}

```

Do you have any suggestion that would help me to overcome this issue?

Thanks a lot for your appreciated support.