Dynamic Add Section

PHP - String Reference

Dynamic Add Section

In PHP there are huge number of String Function list. By using this functoins we can easily do many complex things in simple way.

1. addcslashes() - this function returns a string with backslashes in front of the specified characters.

In this example backslashes is added before each 'P'

2. addslashes() - It adds backslash before double or single inverted commas.

3. bin2hex() - Converts to hexadecimal value.

4. chop() - it removes whitespave or character from right end of string.

5. chr() - this function used to return character from ASCII value.

6. chunk_split() - used to split a string into a smaller part.. It has three argument - first one accept the string, second param is for length of splitted part, third param is the separator.

7. convert_cyr_string()

8. convert_uudecode()

9. convert_uuencode()

10. count_chars()

11. crc32()

12. crypt()

13. echo()

14. explode()

15. fprintf()

16. get_html_translation_table()

17. hebrev()

18. hebrevc()

19. hex2bin()

20. html_entity_decode()

21. htmlentities()

22. htmlspecialchars_decode()

23. htmlspecialchars()

24. implode()

25. join()

26. lcfirst()

27. levenshtein()

28. localeconv()

29. ltrim()

30. md5_file()

31. md5()

32. metaphone()

33. money_format()

34. nl_langinfo()

35. nl2br()

36. number_format()

37. ord()

38. parse_str()

39. print()

40. printf()

41. quoted_printable_decode()

42. quoted_printable_encode()

43. quotemeta()

44. rtrim()

45. setlocale()

46. sha1_file()

47. sha1()

48. similar_text()

49. soundex()

50. sprintf()

51. sscanf()

52. str_getcsv()

53. str_ireplace()

54. str_pad()

55. str_repeat()

56. str_replace()

57. str_rot13()

58. str_shuffle()

59. str_split()

60. str_word_count() - This function returns the number of words inside the string

61. strcasecmp()

62. strchr()

63. strcmp()

64. strcoll()

65. strcspn()

66. strip_tags()

67. stripcslashes()

68. stripos()

69. stripslashes()

70. stristr()

71. strlen()  - Returns the length of string

72. strnatcasecmp()

73. strnatcmp()

74. strncasecmp()

75. strncmp()

76. strpbrk()

77. strpos()

78. strrchr()

79. strrev()

80. strripos()

81. strrpos()

82. strspn()

83. strstr()

84. strtok()

85. strtolower()

86. strtoupper()

87. strtr()

88. substr_compare()

89. substr_count()

90. substr_replace()

91. substr()

92. trim()

93. ucfirst()

94. ucwords()

95. vfprintf()

96. vprintf()

97. vsprintf()

98. wordwrap()

Dynamic Add Section
Dynamic Add Section
Dynamic Add Section
Dynamic Add Section
Dynamic Add Section
Dynamic Add Section