Swift program to convert a string to date. We can use a DateFormatter class to convert a valid string to a Date object in Swift. We can use define different formats in the DateFormatter class.
ReadPython program to compare string with integer or float. This program will show you how to compare any string value with an integer or float value using type casting in Python.
ReadDart program to convert a hexadecimal value to integer. We can use the parse method defined in dart integer class to convert a hexadecimal value to integer.
ReadDart program to find the length of a string. Dart provides length property that we can read to get the length of a string. This post will show you how to get the string length in dart with example.
ReadLearn how to convert string to double in dart. We can use parse and tryParse methods to convert string to double in dart. This post will show you how to use parse and tryParse with examples.
ReadLearn how to convert string to integer in dart. We can use either parse or tryParse method to convert a string to an integer. This post will show you how to use parse and tryparse with example.
ReadIn this program, we will learn how to use custom exceptions in dart. Custom exception can be created by implementing Exception class in dart.
ReadDart program to find a substring in a string. The program will read the string and indices as input from the user and prints out the substring in that range.
ReadLearn how to sort a map by value in Kotlin. A map in Kotlin is used to hold key-value pairs and using a key we can access the value of that map. We can also sort a Kotlin map by its values.
ReadEscape sequence in C is a sequence of characters those are used for any other characters or sequence of characters which are hard to display directly in a string. This post will show you how to use escape sequence in C.
Read