file_rename

Renames a file to new name and returns true if successful, otherwise returns false.

Arguments

  1. String file path
  2. String new name

Output

Boolean

Examples

file_rename