CSharp System String Convert

CSharp examples for System:String Convert

Description

Click the following links for the tutorial for System and String Convert.

  1. convert string to a bool value if possible, if failed, return false as default value. only true, yes or 1 will be treated to true value
  2. convert string to a decimal value if possible.
  3. convert string to a double value if possible.
  4. convert string to a float value if possible.
  5. convert string to a int value if possible.
  6. convert string to a long value if possible.
  7. Converts from Little Endian to Big Endian
  8. String extension method which tries to convert the input string into Int32 representation.


  9. String extension method which tries to convert the input string into Int64 representation.
  10. String extension method which converts the input string to hash array.
  11. String extension method which tries to convert the input string into Int16 representation.
  12. Converts from base: 0 - 62
  13. Converts to Camel casing. "FooBar" becomes "fooBar" "Foobar becomes "foobar"
  14. Converts to pascal casing. "fooBar" becomes "FooBar" "foobar" becomes "Foobar"
  15. Converts this string into the specified type.
  16. Convert first character to lower.


  17. Convert first character to upper.
  18. Converts the string to Title Case (a.k.a., Proper Case).
  19. Converts the string representation of a number to its 16-bit signed integer equivalent. If the conversion failed the return value is 0.
  20. Converts the string representation of a number to its 32-bit signed integer equivalent. If the conversion failed the return value is 0.
  21. Converts the string representation of a number to its 64-bit signed integer equivalent. If the conversion failed the return value is 0.
  22. Remove any underscores or dashes and convert a string into camel casing.
  23. Returns a converted camel cased string into a string delimited by dashes.
  24. converts a list of string items into a 'delimiter' separated string.
  25. Convert to Kb, Mb ...
  26. Convert string from pascal case to human readable string pascalCaseExample => Pascal Case Example
  27. Convert a collection of strings to a comma separated list.
  28. Convert string data to float array, string must be in the game "1.5, 3.534, 8.76, 7.49", etc.
  29. Convert string data to int array, string must be in the game "1, 3, 8, 7", etc.
  30. Parse and convert mobile phone to format like +77015543456
  31. Convert a typed enumeration to a delimited string
  32. Converts most object types to a string
  33. Convert To Unicode
  34. Convert Path To Relative Path
  35. Converts a time-span into a relative time string.
  36. Convert a string like 'abcdefghijklmnopqrstuvwxyz' to decimal string like '6162636465666768696A6B6C6D6E6F707172737475767778797A' ONLY ASCII IN THIS FUNCTION
  37. Convert a string like '6162636465666768696A6B6C6D6E6F707172737475767778797A' to decimal string like 'abcdefghijklmnopqrstuvwxyz' ONLY ASCII IN THIS FUNCTION
  38. Convert a string like '6162636465666768696A6B6C6D6E6F707172737475767778797A' to decimal string like 'abcdefghijklmnopqrstuvwxyz' ONLY UNICODE IN THIS FUNCTION
  39. Convert a string like 'abcdefghijklmnopqrstuvwxyz' to decimal string like '6162636465666768696A6B6C6D6E6F707172737475767778797A' ONLY UNICODE IN THIS FUNCTION
  40. Convert a classname to something more readable. ex.: CreateATable => Create a table
  41. Converts 2D string tab to Dictionary. String[][] contains two string[], first with keys and second with values.
  42. Converts the Dictionary to 2D string tab. String[][] contains two string[], first with keys and second with values.
  43. Converts a string to a camel case representation, e.g. thisIsCamelCasing with an initial lower case character.
  44. Converts a string to a Pascal case representation, e.g. ThisIsPascalCasing with an initial upper case character.
  45. Converts the first character of each word to Uppercase. Example: "the lazy dog" returns "The Lazy Dog"
  46. To Bool from String
  47. to Binary
  48. Takes a string of the form "x1=y1,x2=y2,..." and returns Map
  49. is Numeric
  50. Creates a string from a collection of items.
  51. Build Query String
  52. Concatenates two strings with a delimiter.
  53. Combines a dictionary of key-value pairs in to a string.
  54. Base To Image
  55. Extracts key-value pairs from the given string.
  56. Sets a string to the "NA" string if it is empty.
  57. Returns true if numeric; otherwise, returns false. Used for ordering alphanumeric strings.
  58. To String Long
  59. To String Short
  60. To String Tiny