Lädt...


🔧 10. String operations


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

a)Quyidagi kod nima qiladi?

string name = "John" ;
string upperName = name. ToUpper ();
Console. WriteLine (upperName);

Javob: hamma harflarni kottadan yozib beradi;

b)Stringlarni birlashtirishning bir usulini keltiring.

Replace() metodi orqali ma'lum bir qatorni boshqa qiymatga almashtirish mumkin.
using System;
using System.Text;

class Program
{
    static void Main()
    {
        StringBuilder sb = new StringBuilder("Hello Beautiful World!");

        sb.Remove(6, 10);
        Console.WriteLine(sb.ToString()); 
    }
}

c)Stringlarni solishtirish uchun qaysi metod ishlatiladi?

Agar siz stringlarning ma'lum bir tartibda
(masalan, katta-kichik harflarga qarab) 
solishtirishni xohlasangiz, compareTo() metodidan 
foydalanishingiz mumkin.
...

🔧 Java String Management: String Pool vs String Heap Explained


📈 28.01 Punkte
🔧 Programmierung

🔧 String Operations(Length, escape character, verbatim string)


📈 27.11 Punkte
🔧 Programmierung

🔧 String Operations(Length,escape character,verbatim string)


📈 27.11 Punkte
🔧 Programmierung

🔧 Length of C String – How to Find the Size of a String in C


📈 18.68 Punkte
🔧 Programmierung

🕵️ Microsoft Office 2000/2003/2004/Xp Undefined String Format String


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 Python Split String – How to Split a String into a List or Array in Python


📈 18.68 Punkte
🔧 Programmierung

📰 Hsbc app accepts a string prefixed with a random string and apparently is not case sensitive


📈 18.68 Punkte
📰 IT Security Nachrichten

🐧 How to Remove Characters from a String in Arduino Using String.remove() Function


📈 18.68 Punkte
🐧 Linux Tipps

🕵️ Ruby 1.9.3/2.0.0/2.1.0 string.c str_buf_cat Long String denial of service


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 JavaScript String Tutorial – String Methods in JS


📈 18.68 Punkte
🔧 Programmierung

🔧 What is a String in JS? The JavaScript String Variable Explained


📈 18.68 Punkte
🔧 Programmierung

🔧 Remove From String in Python – How to Remove Characters from a String


📈 18.68 Punkte
🔧 Programmierung

🔧 Int to String in Java – How to Convert an Integer into a String


📈 18.68 Punkte
🔧 Programmierung

🔧 Return a Palindromic String after removing minimum length Prefix from given String


📈 18.68 Punkte
🔧 Programmierung

🔧 Number of pairs of String whose concatenation leads to a Sorted string


📈 18.68 Punkte
🔧 Programmierung

🔧 Kotlin String Templates vs. Java String Concatenation: A Tale of Two Strings (Where Kotlin Sings!)


📈 18.68 Punkte
🔧 Programmierung

🔧 string vs String


📈 18.68 Punkte
🔧 Programmierung

📰 Bash Shell: Replace a String With Another String In All Files Using sed and Perl -pie Options


📈 18.68 Punkte
🐧 Unix Server

🔧 'string' vs 'String': The Battle Between Primitive and Object Types in TypeScript


📈 18.68 Punkte
🔧 Programmierung

🕵️ Netgear R6700 up to 1.0.4.84_10.0.58 String Table File Upload format string


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 JavaScript: Strings, String Methods, and String Properties


📈 18.68 Punkte
🔧 Programmierung

🕵️ libxslt 1.1.33 numbers.c xsltNumberFormatInsertNumbers String Format String


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 Implementing Excel Reading into List<Map<String, String>> in Java


📈 18.68 Punkte
🔧 Programmierung

🕵️ secure-compare up to 3.0.0 on Node.js String Comparison Argument Format String


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 How to Check if a String Contains Another String in C# 🔍


📈 18.68 Punkte
🔧 Programmierung

🔧 JS Remove Char from String – How to Trim a Character from a String in JavaScript


📈 18.68 Punkte
🔧 Programmierung

🕵️ Medium CVE-2019-16882: String-interner project String-interner


📈 18.68 Punkte
🕵️ Sicherheitslücken

🔧 C Print String – How to Print a String in C


📈 18.68 Punkte
🔧 Programmierung

🐧 SVGZ / XML replacing string with string


📈 18.68 Punkte
🐧 Linux Tipps

📰 Sttr - Cross-Platform, Cli App To Perform Various Operations On String


📈 17.78 Punkte
📰 IT Security Nachrichten

🔧 String Operations


📈 17.78 Punkte
🔧 Programmierung

matomo