1. Packages
  2. Standard Library
  3. API Docs
  4. strrev
StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi
std logo
StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi

    Returns the given string with all of its Unicode characters in reverse order.

    Using strrev

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function strrev(args: StrrevArgs, opts?: InvokeOptions): Promise<StrrevResult>
    function strrevOutput(args: StrrevOutputArgs, opts?: InvokeOptions): Output<StrrevResult>
    def strrev(input: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> StrrevResult
    def strrev_output(input: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[StrrevResult]
    func Strrev(ctx *Context, args *StrrevArgs, opts ...InvokeOption) (*StrrevResult, error)
    func StrrevOutput(ctx *Context, args *StrrevOutputArgs, opts ...InvokeOption) StrrevResultOutput

    > Note: This function is named Strrev in the Go SDK.

    public static class Strrev 
    {
        public static Task<StrrevResult> InvokeAsync(StrrevArgs args, InvokeOptions? opts = null)
        public static Output<StrrevResult> Invoke(StrrevInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<StrrevResult> strrev(StrrevArgs args, InvokeOptions options)
    public static Output<StrrevResult> strrev(StrrevArgs args, InvokeOptions options)
    
    fn::invoke:
      function: std:strrev
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Input string
    Input string
    input String
    input string
    input str
    input String

    strrev Result

    The following output properties are available:

    Result string
    Result string
    result String
    result string
    result str
    result String

    Package Details

    Repository
    std pulumi/pulumi-std
    License
    std logo
    StandardLibrary v2.3.2 published on Tuesday, Feb 10, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate