Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

find substring in string php

pos = strpos($current_url, "workspace/detail/live-streaming/service") 
=> if pos > 0 found with the current position pos 
=> if pos < 0 not found
=> if pos = 0 => found with current position = 0;
  
 
PREVIOUS NEXT
Tagged: #find #substring #string #php
ADD COMMENT
Topic
Name
1+3 =