Computer >> कंप्यूटर ट्यूटोरियल >  >> प्रोग्रामिंग >> PHP

PHP में stripcslashes() फ़ंक्शन

stripcslashes() फ़ंक्शन

PHP में stripcslashes() फ़ंक्शन स्ट्रिंग से बैकस्लैश हटाने के लिए उपयोग किया जाता है। यह अनएस्केप्ड स्ट्रिंग रिटर्न करता है।

सिंटैक्स

stripcslashes(string $string): string

पैरामीटर्स

  • string - चेक की जाने वाली स्ट्रिंग

रिटर्न वैल्यू

stripcslashes() फ़ंक्शन अनएस्केप्ड स्ट्रिंग रिटर्न करता है।

उदाहरण

<?php
echo stripcslashes("Naomi \Watts!");
?>

आउटपुट

Naomi Watts!
  1. - PHP में str_pad() फ़ंक्शन

    str_pad() फ़ंक्शन PHP में str_pad() फ़ंक्शन किसी स्ट्रिंग को नई लंबाई तक पैड (भरने) करने के लिए उपयोग किया जाता है। यह पैड की गई स्ट्रिंग रिटर्न करता है। सिंटैक्स str_pad(string $string, int $length, string $pad_string = , int $pad_type = STR_PAD_RIGHT): string पैरामीटर्स string - पैड की जाने वा

  1. - PHP में quoted_printable_encode() फ़ंक्शन

    quoted_printable_encode() फ़ंक्शन PHP में quoted_printable_encode() फ़ंक्शन 8-बिट स्ट्रिंग को कोटेड-प्रिंटेबल स्ट्रिंग में बदलने के लिए उपयोग किया जाता है। सिंटैक्स quoted_printable_encode(string $string): string पैरामीटर्स string - कन्वर्ट की जाने वाली 8-बिट स्ट्रिंग रिटर्न वैल्यू quoted_print

  1. - PHP में quoted_printable_decode() फ़ंक्शन

    quoted_printable_decode() फ़ंक्शन PHP में quoted_printable_decode() फ़ंक्शन कोटेड-प्रिंटेबल स्ट्रिंग को 8-बिट स्ट्रिंग में बदलने के लिए उपयोग किया जाता है। सिंटैक्स quoted_printable_decode(string $string): string पैरामीटर्स string - इनपुट स्ट्रिंग रिटर्न वैल्यू quoted_printable_decode() फ़ंक्शन