[This is preliminary documentation and is subject to change.]

The OCString type exposes the following members.

Constructors

  NameDescription
Public methodOCString

Methods

  NameDescription
Public methodStatic memberAppendDirectorySeparator
Appends a directory separator at the end of the path if not already present.
Public methodStatic memberAppendToPath
Appends a file or directory to a path.
Public methodStatic memberCheckFileExtension
Checks if the file extension matches (case insensitive) the comma separated extensions provided.
Public methodStatic memberConcatOverloaded.
Public methodStatic memberConvertFromCsvString
Convert a csv string to its comma separated equivalent.
Public methodStatic memberConvertFromHtmlOverloaded.
Public methodStatic memberConvertFromRFC822String
Converts any given string which is in RFC822 format to an ordinary string.
Public methodStatic memberConvertHtmlOverloaded.
Public methodStatic memberConvertLdapUrl
Converts a path to its LDAP URL by appending a "LDAP://" string at its front if not already present.
Public methodStatic memberConvertToCsvString
Converts a comma separated string into its csv counterpart. The output string consists of quoted values separated by commas. For example the string a,b,c will be converted to "a","b","c"
Public methodStatic memberConvertToRFC822String
Converts any given string (which is not already in RFC822 specification) to RFC822 specification compatible string.
Public methodStatic memberConvertUrlOverloaded.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberEscapeJavascriptComment
Escapes the javascript comment character with the a backslash character before the comment character
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodStatic memberGetHostStr
Returns the url of the OfficeClip installation. It uses the HostStr property of the web.config file to get the url.
Public methodStatic memberGetInitialsFromName
Gets the initials from the name
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsDocTypeGifPresent
Verifies if the icon is present for a particular document type. The supported document types are shown in docGifTypes
Public methodStatic memberIsValidEmailAddress
Uses regular expressions to test if a passed string is a valid email address
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberParseCsv
Parses the CSV string and loads all individual values in a string array.
Public methodStatic memberReadCsvLine
Reads a line from the comma separated StringReader. This function takes care of the fact that the csv line can span across multiple lines.
Public methodStatic memberRemoveLastDirectorySeparator
removes the last directory separator from the path. No action is taken if there is no directory separator at the end of the string.
Public methodStatic memberReplaceDBNullOverloaded.
Public methodStatic memberToApostrophe
Gets the string converted into the Apostrophe for that noun.
Public methodStatic memberToCommonName
Converts the name string from the last_name, first_name format to the common name format (first_name last_name).
Public methodStatic memberToDigitsOnly
Filters out all the non digits and returns only the digits back.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberTruncateFront
Truncates the string but does it from the front instead of back.
Public methodStatic memberTruncateStr
Truncates the string to its limit given as an integer argument. When the string is truncated, it is appended with three dots (...)

See Also