Lines Matching refs:is
6 * Testing strtok() : modifying the input string while it is getting tokenised
11 $str = "this is a sample string";
14 echo "\n*** Testing strtok() when string being tokenised is prefixed with another string in between…
16 // adding a string to the input string which is being tokenised
19 echo "\n-- Token $count is --\n";
21 echo "\n-- Input str is \"$str\" --\n";
24 echo "\n*** Testing strtok() when string being tokenised is suffixed with another string in between…
26 // adding a string to the input string which is being tokenised
29 echo "\n-- Token $count is --\n";
38 *** Testing strtok() when string being tokenised is prefixed with another string in between the pro…
41 -- Token 1 is --
42 string(2) "is"
44 -- Input str is "extra string this is a sample string" --
46 -- Token 2 is --
49 -- Input str is "extra string this is a sample string" --
51 -- Token 3 is --
54 -- Input str is "extra string this is a sample string" --
56 -- Token 4 is --
59 -- Input str is "extra string this is a sample string" --
61 -- Token 5 is --
64 -- Input str is "extra string this is a sample string" --
66 -- Token 6 is --
69 -- Input str is "extra string this is a sample string" --
71 *** Testing strtok() when string being tokenised is suffixed with another string in between the pro…
74 -- Token 1 is --
77 -- Token 2 is --
80 -- Token 3 is --
81 string(2) "is"
83 -- Token 4 is --
86 -- Token 5 is --
89 -- Token 6 is --
92 -- Token 7 is --
95 -- Token 8 is --
98 -- Token 9 is --
101 -- Token 10 is --