Purpose ring s1. o the end of string s1. tring s1. he same; less than 0 if s1<s2; greater than 0 if occurrence of characterchin strings1. t occurrence of string s2 in string s1.