I need to figure out how to make C # code in php, and I donβt know exactly how to do it.
so first I need a Split function, im will have a string like
"identifier 82asdjka271akshjd18ajjd"
and I need to separate the identifier word from the rest. so in c # i used string.Split (new char {''}); or something like that (leaning back from my head) and got two lines, the first word, and then the second part. I understand that the php sharing function has been deprecated since PHP 5.3.0 .. so this is not an option, what are the alternatives?
and im is also looking for the IndexOf function, so if I were to use the above code again as an example, I would need the location of 271 in the string, so I can generate a substring.
source share