Post AvzWwOSWZ1nuKjdD0q by [email protected] | |
More posts by [email protected] | |
Post #AvzWsZtG7ZMsd1JiHQ by [email protected] | |
0 likes, 0 repeats | |
PHP people,I'm trying to convert some python that I wrote many years ago to… | |
Post #AvzWsa4bRORTCCclxg by [email protected] | |
0 likes, 1 repeats | |
@skribe It may not be the most efficient, but str_split()[1] will take your str… | |
Post #AvzWwOSWZ1nuKjdD0q by [email protected] | |
0 likes, 1 repeats | |
@skribe ("may not be the most efficient" meaning I have no idea if th… | |
Post #AvzdDUf3MDsuDV1qnA by [email protected] | |
0 likes, 0 repeats | |
@skribe I would suggest preg_match https://www.php.net/manual/en/function.preg-… | |
Post #AvzdDUmqtE7gbgg4wq by [email protected] | |
0 likes, 0 repeats | |
@panigrc thanks | |
Post #AvzdDUtaUBViwZpSRk by [email protected] | |
0 likes, 1 repeats | |
@skribe @panigrc or use str_split() / mb_str_split to change a string to an arr… | |
Post #AvztTOQ9vOR2lMfKMa by [email protected] | |
0 likes, 1 repeats | |
@skribe you can use offset notation on PHP strings. I.e. `$str[6]` is valid!You… |