tastro Posted June 9, 2010 Share Posted June 9, 2010 hi, i can't find this on the net... because it's hard to search for only 1 letter. so my question is, what does \s stand for / means? like \n means new line. thank you, tastro Quote Link to comment https://forums.phpfreaks.com/topic/204255-what-does-s-mean/ Share on other sites More sharing options...
dabaR Posted June 9, 2010 Share Posted June 9, 2010 It means any whitespace. * " " (ASCII 32 (0x20)), an ordinary space. * "\t" (ASCII 9 (0x09)), a tab. * "\n" (ASCII 10 (0x0A)), a new line (line feed). * "\r" (ASCII 13 (0x0D)), a carriage return. * "\0" (ASCII 0 (0x00)), the NUL-byte. * "\x0B" (ASCII 11 (0x0B)), a vertical tab. Quote Link to comment https://forums.phpfreaks.com/topic/204255-what-does-s-mean/#findComment-1069796 Share on other sites More sharing options...
tastro Posted June 9, 2010 Author Share Posted June 9, 2010 thank you very much m8. Quote Link to comment https://forums.phpfreaks.com/topic/204255-what-does-s-mean/#findComment-1069801 Share on other sites More sharing options...
salathe Posted June 9, 2010 Share Posted June 9, 2010 See more: http://php.net/regexp.reference.backslash Quote Link to comment https://forums.phpfreaks.com/topic/204255-what-does-s-mean/#findComment-1069824 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.