PRIMAVERA | Developers

    Show / Hide Table of Contents

    Interface IStdBSStrings

    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("6A714008-DC17-45BD-B340-315C58A11D58")]
    public interface IStdBSStrings

    Methods

    CharAnterior(String, Int32)

    Declaration
    string CharAnterior(string strString, int lngPosicao)
    Parameters
    Type Name Description
    System.String strString
    System.Int32 lngPosicao
    Returns
    Type Description
    System.String

    CharSeguinte(String, Int32)

    Declaration
    string CharSeguinte(string strString, int lngPosicao)
    Parameters
    Type Name Description
    System.String strString
    System.Int32 lngPosicao
    Returns
    Type Description
    System.String

    ComecaCom(String, String, Boolean)

    Declaration
    bool ComecaCom(string strString, string strStringToFind, bool blnCaseSensitive = false)
    Parameters
    Type Name Description
    System.String strString
    System.String strStringToFind
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.Boolean

    ConstroiParStrings(String, String)

    Declaration
    string ConstroiParStrings(string strString1, string strString2)
    Parameters
    Type Name Description
    System.String strString1
    System.String strString2
    Returns
    Type Description
    System.String

    Contem(String, String, Boolean)

    Declaration
    bool Contem(string strString, string strStringToFind, bool blnCaseSensitive = false)
    Parameters
    Type Name Description
    System.String strString
    System.String strStringToFind
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.Boolean

    ContemCaracteresReservados(String)

    Declaration
    bool ContemCaracteresReservados(string strString)
    Parameters
    Type Name Description
    System.String strString
    Returns
    Type Description
    System.Boolean

    ContemCaracteresReservados(String, String)

    Declaration
    bool ContemCaracteresReservados(string strString, string strNomeStringTestar)
    Parameters
    Type Name Description
    System.String strString
    System.String strNomeStringTestar
    Returns
    Type Description
    System.Boolean

    ContemCaracteresReservados(String, String, ref String)

    Declaration
    bool ContemCaracteresReservados(string strString, string strNomeStringTestar, ref string strErro)
    Parameters
    Type Name Description
    System.String strString
    System.String strNomeStringTestar
    System.String strErro
    Returns
    Type Description
    System.Boolean

    Diferentes(String, String, Boolean)

    Declaration
    bool Diferentes(string strString1, string strString2, bool blnCaseSensitive = false)
    Parameters
    Type Name Description
    System.String strString1
    System.String strString2
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.Boolean

    Formata(String, Object[])

    Declaration
    string Formata(string strString, params object[] arrParams)
    Parameters
    Type Name Description
    System.String strString
    System.Object[] arrParams
    Returns
    Type Description
    System.String

    Iguais(String, String, Boolean)

    Declaration
    bool Iguais(string strString1, string strString2, bool blnCaseSensitive = false)
    Parameters
    Type Name Description
    System.String strString1
    System.String strString2
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.Boolean

    NumeroOcorrencias(String, String, Boolean)

    Declaration
    int NumeroOcorrencias(string strString, string strStringToFind, bool blnCaseSensitive = true)
    Parameters
    Type Name Description
    System.String strString
    System.String strStringToFind
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.Int32

    Parse(String, String, Boolean)

    Declaration
    string[] Parse(string strString, string strDelimiter, bool blnRemoveSpaces = true)
    Parameters
    Type Name Description
    System.String strString
    System.String strDelimiter
    System.Boolean blnRemoveSpaces
    Returns
    Type Description
    System.String[]

    ParteParStrings(String, ref String, ref String)

    Declaration
    bool ParteParStrings(string strValor, ref string strString1, ref string strString2)
    Parameters
    Type Name Description
    System.String strValor
    System.String strString1
    System.String strString2
    Returns
    Type Description
    System.Boolean

    RemoveCaracteres(String, String)

    Declaration
    string RemoveCaracteres(string strString, string strCaracteresRemover)
    Parameters
    Type Name Description
    System.String strString
    System.String strCaracteresRemover
    Returns
    Type Description
    System.String

    RemoverDiacriticos(String)

    Declaration
    string RemoverDiacriticos(string strString)
    Parameters
    Type Name Description
    System.String strString
    Returns
    Type Description
    System.String

    StringArrayContem(String, String[])

    Declaration
    bool StringArrayContem(string strString, string[] strArray)
    Parameters
    Type Name Description
    System.String strString
    System.String[] strArray
    Returns
    Type Description
    System.Boolean

    Substitui(String, String, String, Boolean)

    Declaration
    string Substitui(string strOriginal, string strProcurar, string strSubstituir, bool blnCaseSensitive = false)
    Parameters
    Type Name Description
    System.String strOriginal
    System.String strProcurar
    System.String strSubstituir
    System.Boolean blnCaseSensitive
    Returns
    Type Description
    System.String