PHP get a part of string

smotrporn

New Member
How can I check in PHP whether a string contains '-'?ExampleABC-cde::abcdefif '-' is found then I have to perform split() to split ABC from cde::abcdefelseno need to perform split()like cde::abcdef
 
Back
Top