
MarkLogic 10 Product Documentation
fn:substring-afterfn:substring-after(
   $input as xs:string?,
   $after as xs:string?,
   [$collation as xs:string]
) as xs:string?
Summary
  Returns the substring created by taking all of the input characters
  that occur after the specified $after characters.
	  
	  
	
	  
	    | Parameters | 
	  
	
	  
	    | input | 
	    
  The string from which to create the substring.
   | 
	  
	  
	    | after | 
	    
  The string after which the substring is created.
   | 
	  
	  
	    | collation | 
	    
  The optional name of a valid collation URI.  For information on the
  collation URI syntax, see the Search Developer's Guide.
   | 
	  
	
Example
fn:substring-after("123456", "3")
=> "456"
    Copyright © 2025 MarkLogic Corporation. MARKLOGIC is a
    registered trademark of MarkLogic Corporation.